ISSUE-2330: Clarify how the 'clip' property affects svg content


Clarify how the 'clip' property affects svg content

Raised by:
Erik Dahlström
Opened on:
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: 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?

Related Actions Items:
No related actions
Related emails:
  1. SVG/profiles/1.1F2/test/script f11_published_tests.txt,1.32,1.33 (from on 2010-11-09)
  2. Agenda June 14, 2010 SVG WG telcon (from on 2010-06-14)
  3. ISSUE-2330 (clip_property_handling): Clarify how the 'clip' property affects svg content [SVG 2.0] (from on 2010-06-11)

Related notes:

No additional notes.

Display change log ATOM feed

Dirk Schulze <>, Chair, Chris Lilley <>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: 2330.html,v 1.1 2020/01/17 13:21:16 carcone Exp $