[Webkit-unassigned] [Bug 11225] No scroll bars are displayed for standalone SVG image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 16 14:50:08 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=11225





------- Comment #35 from eric at webkit.org  2009-03-16 14:50 PDT -------
I tried the naive fix:
diff --git a/WebCore/css/svg.css b/WebCore/css/svg.css
index 322eda8..49e0ae4 100644
--- a/WebCore/css/svg.css
+++ b/WebCore/css/svg.css
@@ -32,8 +32,13 @@
     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.
+    SVG 1.1 Errata will supposedly change this rule to only apply to
:not(:root)
+    See discussion in https://bugs.webkit.org/show_bug.cgi?id=11225
 */
 svg:root {
+    overflow: auto
+}
+svg:not:(:root) {
     overflow: hidden !important
 }


But got lots of failures I didn't expect. :(  Unfortunately, I have other bugs
to fix atm, so this one will have to wait...


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list