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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 17 16:05:14 PDT 2008


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





------- Comment #26 from jhaas at chromium.org  2008-09-17 16:05 PDT -------
(In reply to comment #19)
> Try adding this to SVG's css file
> replace
> svg { overflow: hidden }
> with
> svg:not(:root) { overflow: hidden }

We already have an svg:root selector, which is flagged as important. Making
sure the overflow: hidden is not applied to the SVG root element is
insufficient to fix this bug, considering the coercion that goes on in
CSSStyleSelector::adjustRenderStyle().


> Note that WebKit not showing scrollbars is actually correct according to the
> SVG and CSS specs, so we need to raise this issue with the SVG and CSS WGs.

I disagree. Consider the following:

<svg xmlns:"blahblahblah" width="2000" height="2000">

The spec is pretty vague, but my interpretation of it in light of sections 7.1,
7.2, and 14.3.3 is that this code establishes a viewport with dimensions
2000x2000. Clipping should be done to that viewport, not to the dimensions of
the rendering area provided by the user agent. 


-- 
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