Bug 142873 - 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
Summary: Switching the src of an iframe from an SVG with intrinsic size to an SVG with...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-19 12:52 PDT by Said Abou-Hallawa
Modified: 2015-03-20 13:20 PDT (History)
3 users (show)

See Also:


Attachments
test case (1.12 KB, text/html)
2015-03-19 12:52 PDT, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 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).
Comment 1 Radar WebKit Bug Importer 2015-03-19 12:58:19 PDT
<rdar://problem/20228302>
Comment 2 Said Abou-Hallawa 2015-03-20 13:20:27 PDT
The bug is not reproducible if the css "float" property is set to "none".