RESOLVED DUPLICATE of bug 5358 6093
The outermost <svg> element needs to clip itself
https://bugs.webkit.org/show_bug.cgi?id=6093
Summary The outermost <svg> element needs to clip itself
Eric Seidel (no email)
Reported 2005-12-15 02:09:53 PST
According to the spec: When an outermost SVG 'svg' element is stand-alone or embedded inline within a parent XML grammar which does not use CSS layout [CSS2-LAYOUT] or XSL formatting [XSL], the 'overflow' property on the outermost 'svg' element is ignored for the purposes of visual rendering and the initial clipping path is set to the bounds of the initial viewport. We need to ignore overflow when being the "root" object, and do our own clipping to the viewport. Hyatt is just about to fix it so that we do not apply overflow on the root object.
Attachments
Patch that disallows overflow:hidden on <svg>s that are root elements. (851 bytes, patch)
2005-12-15 11:34 PST, Dave Hyatt
no flags
Eric Seidel (no email)
Comment 1 2005-12-15 02:20:31 PST
Actually, I have a patch which fixes both sides of this issue which I'll attach here once I can untangle it from the rest of the changes in my tree.
Dave Hyatt
Comment 2 2005-12-15 11:34:07 PST
Created attachment 5098 [details] Patch that disallows overflow:hidden on <svg>s that are root elements.
Dave Hyatt
Comment 3 2005-12-15 11:36:35 PST
I landed the css portion of this patch. There will still need to be additional code to set the initial clipping path to the bounds of the initial SVG viewport.
Eric Seidel (no email)
Comment 4 2006-01-15 03:12:15 PST
*** Bug 5977 has been marked as a duplicate of this bug. ***
Eric Seidel (no email)
Comment 5 2006-01-26 14:30:23 PST
*** This bug has been marked as a duplicate of 5358 ***
Note You need to log in before you can comment on or make changes to this bug.