3939
4040 < h1 > CSS Transforms</ h1 >
4141
42- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 12 July 2012</ h2 >
42+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 20 July 2012</ h2 >
4343
4444 < dl >
4545 < dt > This version:
4646
4747 < dd > < a
48- href ="http://www.w3.org/TR/2012/ED-css3-transforms-20120712 / "> http://dev.w3.org/csswg/css3-transforms/</ a >
49- <!--http://www.w3.org/TR/2012/WD-css3-transforms-20120712 /-->
48+ href ="http://www.w3.org/TR/2012/ED-css3-transforms-20120720 / "> http://dev.w3.org/csswg/css3-transforms/</ a >
49+ <!--http://www.w3.org/TR/2012/WD-css3-transforms-20120720 /-->
5050
5151 < dt > Latest version:
5252
@@ -2040,77 +2040,31 @@ <h3 id=svg-three-dimensional-functions><span class=secno>13.5. </span>SVG
20402040 < h3 id =svg-user-coordinate-space > < span class =secno > 13.6. </ span > User
20412041 coordinate space</ h3 >
20422042
2043- < p > If the ‘< code class =property > patternUnit</ code > ’ attribute of the
2044- SVG ‘< code class =property > pattern</ code > ’ element is ‘< code
2045- class =css > userSpaceOnUse</ code > ’, the ‘< a href ="#effects "> < code
2046- class =property > transform</ code > </ a > ’ property and the ‘< code
2047- class =property > patternTransform</ code > ’ attribute represents values in
2048- the current user coordinate system in place at the time when the ‘< code
2049- class =property > pattern</ code > ’ element is referenced (i.e., the user
2050- coordinate system for the element referencing the ‘< code
2051- class =property > pattern</ code > ’ element via a ‘< code
2052- class =property > fill</ code > ’ or ‘< code class =property > stroke</ code > ’
2053- property).< br >
2054- If the ‘< code class =property > patternUnit</ code > ’ attribute is set to
2055- ‘< code class =css > objectBoundingBox</ code > ’ the user coordinate system
2056- for the ‘< a href ="#effects "> < code class =property > transform</ code > </ a > ’
2057- property and the ‘< code class =property > patternTransform</ code > ’
2058- attribute is established using the < a class =term
2059- href ="#bounding-box "> bounding box</ a > of the element to which the pattern
2060- is applied (see < a
2061- href ="http://www.w3.org/TR/SVG/coords.html#ObjectBoundingBoxUnits "> Object
2062- bounding box units</ a > < a href ="#SVG11 "
2063- rel =biblioentry > [SVG11]<!--{{SVG11}}--> </ a > ).
2064-
2065- < p > If the ‘< code class =property > gradientUnit</ code > ’ attribute of the
2066- SVG ‘< code class =property > linearGradient</ code > ’ element and the
2067- ‘< code class =property > radialGradient</ code > ’ element is ‘< code
2068- class =css > userSpaceOnUse</ code > ’, the ‘< a href ="#effects "> < code
2069- class =property > transform</ code > </ a > ’ property and the ‘< code
2070- class =property > gradientTransform</ code > ’ attribute represents values in
2071- the current user coordinate system in place at the time when the
2072- ‘gradient’ element is referenced (i.e., the user coordinate system for
2073- the element referencing ‘< code class =property > linearGradient</ code > ’
2074- element or ‘< code class =property > radialGradient</ code > ’ element via a
2075- ‘< code class =property > fill</ code > ’ or ‘< code
2076- class =property > stroke</ code > ’ property).< br >
2077- If the ‘< code class =property > gradientUnit</ code > ’ attribute is set to
2078- ‘< code class =css > objectBoundingBox</ code > ’ the user coordinate system
2079- for the ‘< a href ="#effects "> < code class =property > transform</ code > </ a > ’
2080- property and the ‘< code class =property > patternTransform</ code > ’
2081- attribute is established using the < a class =term
2082- href ="#bounding-box "> bounding box</ a > of the element to which the gradient
2083- is applied (see < a
2084- href ="http://www.w3.org/TR/SVG/coords.html#ObjectBoundingBoxUnits "> Object
2085- bounding box units</ a > < a href ="#SVG11 "
2086- rel =biblioentry > [SVG11]<!--{{SVG11}}--> </ a > ).
2087-
2088- < p > If the ‘< code class =property > maskUnit</ code > ’ attribute of the SVG
2089- ‘< code class =property > mask</ code > ’ element is ‘< code
2090- class =css > userSpaceOnUse</ code > ’, the ‘< a href ="#effects "> < code
2091- class =property > transform</ code > </ a > ’ presentation attribute represents
2092- values in the current user coordinate system in place at the time when the
2093- ‘< code class =property > mask</ code > ’ element is referenced (i.e., the
2094- user coordinate system for the element referencing the ‘< code
2095- class =property > mask</ code > ’ element via the ‘< code
2096- class =property > mask</ code > ’ property).< br >
2097- If the ‘< code class =property > maskUnit</ code > ’ attribute is set to
2098- ‘< code class =css > objectBoundingBox</ code > ’ the user coordinate system
2099- for the ‘< a href ="#effects "> < code class =property > transform</ code > </ a > ’
2100- presentation attribute is established using the < a class =term
2101- href ="#bounding-box "> bounding box</ a > of the element to which the mask is
2102- applied (see < a
2103- href ="http://www.w3.org/TR/SVG/coords.html#ObjectBoundingBoxUnits "> Object
2104- bounding box units</ a > < a href ="#SVG11 "
2105- rel =biblioentry > [SVG11]<!--{{SVG11}}--> </ a > ).
2106-
2107- < p > For the ‘< code class =property > clipPath</ code > ’ element the ‘< a
2108- href ="#effects "> < code class =property > transform</ code > </ a > ’ presentation
2109- attribute represents values in the current user coordinate system in place
2110- at the time when the ‘< code class =property > clipPath</ code > ’ element is
2111- referenced (i.e., the user coordinate system for the element referencing
2112- the ‘< code class =property > clipPath</ code > ’ element via the ‘< code
2113- class =property > clip-path</ code > ’ property).
2043+ < p > For the ‘< code class =property > pattern</ code > ’, ‘< code
2044+ class =property > linearGradient</ code > ’, ‘< code
2045+ class =property > radialGradient</ code > ’, ‘< code
2046+ class =property > mask</ code > ’ and ‘< code
2047+ class =property > clipPath</ code > ’ elements the ‘< a href ="#effects "> < code
2048+ class =property > transform</ code > </ a > ’, ‘< code
2049+ class =property > patternTransform</ code > ’, ‘< code
2050+ class =property > gradientTransform</ code > ’ presentation attributes
2051+ represents values in the current user coordinate system in place at the
2052+ time when these elements are referenced (i.e., the user coordinate system
2053+ for the element referencing the ‘< code class =property > pattern</ code > ’
2054+ element via a ‘< code class =property > fill</ code > ’ or ‘< code
2055+ class =property > stroke</ code > ’ property).
2056+
2057+ < p class =issue > Should percentage values on transforms be relative the
2058+ viewport (the case for all other attributes on the mentioned attributes),
2059+ or should the be reletive the referencing objects bounding box (like it is
2060+ for all other transformable elements). The later choice seems to be more
2061+ consistent within CSS Transforms.
2062+
2063+ < p > In particualar the ‘< code class =property > patternUnit</ code > ’,
2064+ ‘< code class =property > gradientUnit</ code > ’ and ‘< code
2065+ class =property > maskUnit</ code > ’ attributes don't affect the user
2066+ coordinate system used for transformations < a href ="#SVG11 "
2067+ rel =biblioentry > [SVG11]<!--{{SVG11}}--> </ a > .
21142068
21152069 < p > For all other < a class =term href ="#transformable-element "> transformable
21162070 elements</ a > the ‘< a href ="#effects "> < code
@@ -2121,6 +2075,9 @@ <h3 id=svg-user-coordinate-space><span class=secno>13.6. </span> User
21212075 to the element's < a class =term href ="#bounding-box "> bounding box</ a > .
21222076
21232077 < div class =example >
2078+ < p class =issue > The result in the example below depends on the decision
2079+ made on the previous issue.</ p >
2080+
21242081 < p > The ‘< a href ="#transform-origin "> < code
21252082 class =property > transform-origin</ code > </ a > ’ property on the pattern in
21262083 the following example specifies a ‘< code class =css > 50%</ code > ’
0 commit comments