Skip to content

Commit f682cbe

Browse files
committed
[css-transforms-1] Define target coordinate space for transformations on pattern, gradient and clipPath elements. #893
1 parent e636053 commit f682cbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-transforms-1/Overview.bs

+4-4
Original file line numberDiff line numberDiff line change
@@ -746,13 +746,13 @@ Issue(w3c/csswg-drafts#2684): Implementations differ. More testing is required.
746746
User coordinate space {#svg-user-coordinate-space}
747747
--------------------------------------------------
748748

749-
For the <{pattern}>, <{linearGradient}>, <{radialGradient}> and <{clipPath}> elements the <a element-attr for>transform</a>, <{pattern/patternTransform}>, <{linearGradient/gradientTransform}> attributes represents values in the current user coordinate system in place at the time when these elements are referenced (i.e., the user coordinate system for the element referencing the <{pattern}> element via a 'fill' or 'stroke' property). Percentage values are relative to the [=reference box=] of the referencing element.
749+
For the <{pattern}> element, the <{pattern/patternTransform}> attribtue and 'transform' property define an additional transformation in the pattern coordinate system. See <{pattern/patternUnits}> attribute for details [[!SVG2]].
750750

751-
In particular the <{pattern/patternUnits}>, <{linearGradient/gradientUnits}> and <{mask/maskUnits}> attributes don't affect the user coordinate system used for transformations [[SVG11]].
751+
For the <{linearGradient}> and <{radialGradient}> elements, the <{linearGradient/gradientTransform}> attribtue and 'transform' property define an additional transformation in the gradient coordinate system. See <{linearGradient/gradientUnits}> attribute for details [[!SVG2]].
752752

753-
For all other [=transformable elements=] the <a element-attr for>transform</a> attribute represents values in the current user coordinate system of the parent. All percentage values of the <a element-attr for>transform</a> attribute are relative to the element's [=reference box=].
753+
For the <{clipPath}> element, the <a element-attr for>transform</a> attribtue and 'transform' property define an additional transformation in the clipping path coordinate space. See <{clipPath/clipPathUnits}> attribute for details [[!CSS-MASKING]].
754754

755-
Issue(w3c/csswg-drafts#893): User coordinate space statement breaks SVG.
755+
For all other [=transformable elements=] the <a element-attr for>transform</a> attribute and 'transform' property define a transformation in the current user coordinate system of the parent. All percentage values of the <a element-attr for>transform</a> attribute are relative to the element's [=reference box=].
756756

757757
<div class="example">
758758

0 commit comments

Comments
 (0)