[Webkit-unassigned] [Bug 16180] Stroke width on rectangle not equal on all sides

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 29 01:25:58 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16180





------- Comment #6 from eric at webkit.org  2007-11-29 01:25 PDT -------
This behavior is 100% correct, IMO.  I'm not sure if we should be respecting
"padding" in an SVG stand-alone document however.

<svg> has an implicit clip:
http://www.w3.org/TR/SVG/masking.html#OverflowAndClipProperties

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.

So the stroke for the rect is getting clipped off the top and left.  If the SVG
were not width/height 100%, but rather only as large as the rect, the bottom
and right would also have been clipped.

I suggest this is closed as INVALID.


-- 
Configure bugmail: http://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