Bug 142873

Summary: Switching the src of an iframe from an SVG with intrinsic size to an SVG with no intrinsic leaves dirt if the sizes of the images are different
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, simon.fraser, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar, LayerBasedSVGEngine
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case none

Said Abou-Hallawa
Reported 2015-03-19 12:52:02 PDT
Created attachment 249050 [details] test case Open the attached test case. Click on the button 'Red' and then click on the button 'Lime'. Result: The area of the lime rectangle is only repainted and since the lime rectangle is smaller than the red rectangle, the bottom of the red rectangle is not cleared. Expected: Changing the source of an iframe to an SVG with no intrinsic size should repaint its old rectangle. Note: The dirt is cleared is the window is refreshed (resized for example).
Attachments
test case (1.12 KB, text/html)
2015-03-19 12:52 PDT, Said Abou-Hallawa
no flags
Radar WebKit Bug Importer
Comment 1 2015-03-19 12:58:19 PDT
Said Abou-Hallawa
Comment 2 2015-03-20 13:20:27 PDT
The bug is not reproducible if the css "float" property is set to "none".
Ahmad Saleem
Comment 3 2023-09-19 04:01:51 PDT
This bug still exist in WebKit ToT (268117@main) while Chrome Canary 119 and Firefox Nightly 119 do not exhibit this issue.
Note You need to log in before you can comment on or make changes to this bug.