NEW 259905
[SVG] in img element doesn't render correctly when height is changed dynamically
https://bugs.webkit.org/show_bug.cgi?id=259905
Summary [SVG] in img element doesn't render correctly when height is changed dynamically
Ahmad Saleem
Reported 2023-08-07 17:16:03 PDT
Hi Team, Came across failing test case from StackOverflow (link don't work) while going through Blink's commit rabbit hole: TestCase: https://jsfiddle.net/p9d3jmk2/ ^ Modified with placeholder image 200*200. Not stretching properly in Safari. Blink Commit: https://src.chromium.org/viewvc/blink?view=revision&revision=170437 Local patch does not fix this on WebKit ToT. Thanks!
Attachments
"Tall@ - Chrome Canary vs WebKit ToT (143.01 KB, image/png)
2023-09-05 05:10 PDT, Ahmad Saleem
no flags
Radar WebKit Bug Importer
Comment 1 2023-08-14 17:17:12 PDT
Karl Dubost
Comment 2 2023-08-20 18:50:42 PDT
Ahmad, I seem to have the same behavior on all three browsers
Ahmad Saleem
Comment 3 2023-09-05 05:10:36 PDT
Created attachment 467551 [details] "Tall@ - Chrome Canary vs WebKit ToT @Karl - I get this where 'Tall' does not do anything.
Karl Dubost
Comment 5 2023-09-05 22:34:42 PDT
fwiw the chromium patch applied to WebKit doesn't fix it.
Ahmad Saleem
Comment 6 2023-09-10 03:40:45 PDT
void setContainerSize(const IntSize& containerSize) { if (m_containerSize != containerSize) setNeedsLayout(); m_containerSize = containerSize; } Based on Chromium patch but it does not work.
Note You need to log in before you can comment on or make changes to this bug.