ISSUE-2330: Clarify how the 'clip' property affects svg content
clip_property_handling
Clarify how the 'clip' property affects svg content
- State:
- RAISED
- Product:
- SVG 2
- Raised by:
- Erik Dahlström
- Opened on:
- 2010-06-11
- Description:
- 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 (according to the CSS2.1 definition).
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 - Related Actions Items:
- No related actions
- Related emails:
- SVG/profiles/1.1F2/test/script f11_published_tests.txt,1.32,1.33 (from cvsmail@w3.org on 2010-11-09)
- Agenda June 14, 2010 SVG WG telcon (from ed@opera.com on 2010-06-14)
- ISSUE-2330 (clip_property_handling): Clarify how the 'clip' property affects svg content [SVG 2.0] (from sysbot+tracker@w3.org on 2010-06-11)
Related notes:
No additional notes.
Display change log