RESOLVED FIXED 11007
Outermost <svg> element should clip to viewport
https://bugs.webkit.org/show_bug.cgi?id=11007
Summary Outermost <svg> element should clip to viewport
Eric Seidel (no email)
Reported 2006-09-24 06:59:20 PDT
Per 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. See attached test case. I'm surprised this isn't working, since last I checked, our user agent stylesheet has svg { overflow: hidden; } and I thought that overflow: hidden worked. Manually specifying style="overflow: hidden" on the outermost SVG element does not fix the problem.
Attachments
test case (212 bytes, image/svg+xml)
2006-09-24 06:59 PDT, Eric Seidel (no email)
no flags
fix & test case updates (182.04 KB, patch)
2006-09-24 23:20 PDT, Eric Seidel (no email)
mjs: review+
Eric Seidel (no email)
Comment 1 2006-09-24 06:59:50 PDT
Created attachment 10737 [details] test case
Eric Seidel (no email)
Comment 2 2006-09-24 23:20:58 PDT
Created attachment 10749 [details] fix & test case updates
Maciej Stachowiak
Comment 3 2006-09-25 02:34:57 PDT
Comment on attachment 10749 [details] fix & test case updates r=me
Eric Seidel (no email)
Comment 4 2006-09-25 02:53:20 PDT
Note You need to log in before you can comment on or make changes to this bug.