Skip to content

Commit

Permalink
[css-transforms-1] Move spec text for patternTransform, gradientTrans…
Browse files Browse the repository at this point in the history
…form to SVG2. w3c#919
  • Loading branch information
dirkschulze authored and fergald committed May 7, 2018
1 parent 693f10c commit 9de47cf
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions css-transforms-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,7 @@ For elements with an associated CSS layout box, the [=used value=] for <a value
The SVG <a element-attr for>transform</a> Attribute {#svg-transform}
=============================

The SVG 1.1 specification did not specify the attributes <a element-attr for>transform</a>, <{linearGradient/gradientTransform}> or <{pattern/patternTransform}> as <a>presentation attributes</a> [[!SVG11]]. In order to improve the integration of SVG and HTML, this specification makes these SVG attributes presentation attributes and makes the 'transform' property one that applies to [=transformable elements=] in the SVG namespace.

Issue(w3c/csswg-drafts#919) Can patternTransform or gradientTransform or transform attributes apply to one element? If yes, which is the most significant?

This specification will also introduce the new presentation attribute 'transform-origin'. Values on this presentation attribute get parsed following the syntax rules on <a href="#svg-data-types">SVG Data Types</a> [[!SVG11]].
This specification will introduce the new presentation attribute 'transform-origin'. Values on this presentation attribute get parsed following the syntax rules on <a href="#svg-data-types">SVG Data Types</a> [[!SVG11]].

SVG <a element-attr for>transform</a> attribute specificity {#transform-attribute-specificity}
-------------------------------------
Expand Down Expand Up @@ -436,12 +432,6 @@ An angle can be a <<number>> without an unit identifier. In this case the <a hre
SVG supports scientific notations for numbers. Therefore a number gets parsed like described in SVG <a href="https://www.w3.org/TR/SVG/types.html#DataTypeNumber">Basic data types</a> for SVG attributes.


The SVG <{linearGradient/gradientTransform}> and <{pattern/patternTransform}> attributes {#svg-gradient-transform-pattern-transform}
----------------------------------------------------------------------------------------

SVG specifies the attributes <{linearGradient/gradientTransform}> and <{pattern/patternTransform}>. This specification makes both attributes presentation attributes. Both attributes use the same <a href="#svg-syntax">syntax</a> as the SVG <a element-attr for>transform</a> attribute. This specification does not introduce corresponding CSS style properties. Both the <{linearGradient/gradientTransform}> and the <{pattern/patternTransform}> attribute are presentation attributes for the 'transform' property.


SVG transform functions {#svg-transform-functions}
-----------------------

Expand Down Expand Up @@ -1112,6 +1102,8 @@ One translation unit on a matrix is equivalent to 1 pixel in the local coordinat

<h2 class="no-num" id="changes">Changes since last publication</h2>

* Remove specification text that makes <a element-attr for=pattern>patternTransform</a>, <a element-attr for=linearGradient>gradientTransform</a> presentation attributes representing the 'transform' property. That is going to get specified by SVG 2 [[SVG2]].

ISSUE: Add all changes.

<h2 class=no-num id='acknowledgments'>Acknowledgments</h2>
Expand Down

0 comments on commit 9de47cf

Please sign in to comment.