| Summary: | [SVG] in img element doesn't render correctly when height is changed dynamically | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> | ||||
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | karlcow, sabouhallawa, webkit-bug-importer, zimmermann | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Ahmad Saleem
2023-08-07 17:16:03 PDT
Ahmad, I seem to have the same behavior on all three browsers Created attachment 467551 [details]
"Tall@ - Chrome Canary vs WebKit ToT
@Karl - I get this where 'Tall' does not do anything.
re-tested and you are right. https://searchfox.org/wubkat/rev/df7a74a8f788e5e1ea909d9e843a674d0e1e50a8/Source/WebCore/svg/graphics/SVGImage.cpp#322-327 fwiw the chromium patch applied to WebKit doesn't fix it. void setContainerSize(const IntSize& containerSize) {
if (m_containerSize != containerSize)
setNeedsLayout();
m_containerSize = containerSize;
}
Based on Chromium patch but it does not work.
|