Re: [csswg-drafts] [css-transforms-1] User coordinate space statement breaks SVG

Ok, looked at this again. Lets limit the issue in question to the `<pattern>` element.

The `<pattern>` element has the attributes `patternUnits`, `patternContentUnits` and `patternTransform`. All 3 attributes influence the coordinate system for drawings.

* `patternContentUnits ` modifies the coordinate space for the content of `<pattern>` (content of the tile)
* `patternUnits` specifies a coordinate space for the pattern tile itself. Namely the `width` and `height` attributes.
* `patternTransform` specifies the coordinate space for the pattern itself. Percentage values get resolved according to the reference box of the referencing element in the local coordinate space of the referencing element (a `<rect>` element for instance).

As a result, according to the current specification text, `patternUnits` do not contribute to the transformation of the `patternTransform`.

@AmeliaBR Do you think this is a breaking change? Do you have an example?

-- 
GitHub Notification of comment by dirkschulze
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/893#issuecomment-383577799 using your GitHub account

Received on Monday, 23 April 2018 13:37:21 UTC