- From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
- Date: Fri, 11 Jun 2010 14:14:28 +0000 (GMT)
- To: public-svg-wg@w3.org
ISSUE-2330 (clip_property_handling): Clarify how the 'clip' property affects svg content [SVG 2.0] http://www.w3.org/Graphics/SVG/WG/track/issues/2330 Raised by: Erik Dahlström On product: SVG 2.0 As reported by Robert Longson[1] the 'clip' property was changed slightly from CSS2.0 [2] to CSS2.1 [3]. In particular top and bottom are now offsets from the top edge of the box and left and right offsets from the left edge of the box, at least in the testcase referenced below. This affects one of the tests in the testsuite: http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObject/masking-path-06-b.html because clip="rect(10,10,10,10)" in the example should clip the images completely. The CSS2.1 spec also says the values are offsets from the border box, but isn't really clear if 'clip' is applied to an svg:image element - are the offsets from the outermost svg viewport (that has a border box) or is it the boundingbox of the svg:image element? [1] http://www.w3.org/mid/31fc788d1002160239g45e6e814u4c7c5497a4194518@mail.gmail.com [2] http://www.w3.org/TR/2008/REC-CSS2-20080411/visufx.html#clipping [3] http://www.w3.org/TR/CSS2/visufx.html#clipping
Received on Friday, 11 June 2010 14:14:30 UTC