|
18 | 18 | </p> |
19 | 19 | <h1 class="p-name no-ref" id=title>Geometry Interfaces Module Level 1</h1> |
20 | 20 | <h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft, |
21 | | - <span class=dt-updated><span class=value-title title=20140619>19 June 2014</span></span></span></h2> |
| 21 | + <span class=dt-updated><span class=value-title title=20140623>23 June 2014</span></span></span></h2> |
22 | 22 | <div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/fxtf/geometry/>http://dev.w3.org/fxtf/geometry/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/geometry-1/>http://www.w3.org/TR/geometry-1/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/fxtf/geometry/>http://dev.w3.org/fxtf/geometry/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2014/WD-geometry-1-20140522/ rel=previous>http://www.w3.org/TR/2014/WD-geometry-1-20140522/</a> |
23 | 23 | <dt>Feedback:</dt> |
24 | 24 | <dd><a href="mailto:public-fx@w3.org?subject=%5Bgeometry%5D%20feedback">public-fx@w3.org</a> |
@@ -565,9 +565,9 @@ <h3 class="heading settled heading" data-level=6.1 id=dommatrix-constructors><sp |
565 | 565 | </li> |
566 | 566 | <li>If invoked with a <a class=idl-code data-link-type=interface title=domstring>DOMString</a> argument <var>transformList</var>: |
567 | 567 | <ol> |
568 | | - <li>Parse <var>transformList</var> by following the syntax description in “<a href=http://www.w3.org/TR/css3-transforms/#svg-syntax>Syntax of the SVG ‘transform’ attribute</a>” <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-transforms title=biblio-css3-transforms>[CSS3-TRANSFORMS]</a> to a <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-list title="<transform-list>"><transform-list></a>. If parsing is not successful or any <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-function title="<transform-function>"><transform-function></a> has <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#length-value title="<length>"><length></a> values without <a data-link-spec=css-values data-link-type=dfn href=http://dev.w3.org/csswg/css-values-3/#absolute-length title="absolute length">absolute length</a> units, throw an <a data-link-spec=html5 data-link-type=dfn href=http://www.w3.org/html/wg/drafts/html/CR/infrastructure.html#js-syntaxerror title=syntaxerror>SyntaxError</a> exception.</li> |
| 568 | + <li>Parse <var>transformList</var> by following the syntax description in “<a href=http://www.w3.org/TR/css-transforms-1/#svg-syntax>Syntax of the SVG ‘transform’ attribute</a>” <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-transforms title=biblio-css3-transforms>[CSS3-TRANSFORMS]</a> to a <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-list title="<transform-list>"><transform-list></a>. If parsing is not successful or any <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-function title="<transform-function>"><transform-function></a> has <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#length-value title="<length>"><length></a> values without <a data-link-spec=css-values data-link-type=dfn href=http://dev.w3.org/csswg/css-values-3/#absolute-length title="absolute length">absolute length</a> units, throw an <a data-link-spec=html5 data-link-type=dfn href=http://www.w3.org/html/wg/drafts/html/CR/infrastructure.html#js-syntaxerror title=syntaxerror>SyntaxError</a> exception.</li> |
569 | 569 | <li>Set <a data-link-type=dfn href=#is2d title=is2d>is2D</a> to <span class=css data-link-type=maybe title=false>false</span> if the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-list title="<transform-list>"><transform-list></a> consists of any <a href=http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions>3D Transform functions</a>. Otherwise set <a data-link-type=dfn href=#is2d title=is2d>is2D</a> to <span class=css data-link-type=maybe title=true>true</span>.</li> |
570 | | - <li>Transform all <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-function title="<transform-function>"><transform-function></a>s to 4x4 matrices by following the “<a href=http://www.w3.org/TR/css3-transforms/#mathematical-description>Mathematical Description of Transform Functions</a>” <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-transforms title=biblio-css3-transforms>[CSS3-TRANSFORMS]</a>.</li> |
| 570 | + <li>Transform all <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-function title="<transform-function>"><transform-function></a>s to 4x4 matrices by following the “<a href=http://www.w3.org/TR/css-transforms-1/#mathematical-description>Mathematical Description of Transform Functions</a>” <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-transforms title=biblio-css3-transforms>[CSS3-TRANSFORMS]</a>.</li> |
571 | 571 | <li>Post-multiply all matrices from left to right to a combined 4x4 matrix.</li> |
572 | 572 | <li>Set the <a class=idl-code data-link-type=attribute href=#dom-dommatrix-dommatrixreadonly-m11 title=m11>m11</a> to <a class=idl-code data-link-type=attribute href=#dom-dommatrix-dommatrixreadonly-m44 title=m44>m44</a> attributes to the element values of the 4x4 matrix in column-major order.</li> |
573 | 573 | </ol> |
@@ -1015,9 +1015,9 @@ <h3 class="heading settled heading" data-level=6.4 id=mutable-transformation-met |
1015 | 1015 | <dt><dfn class=idl-code data-dfn-for=DOMMatrix data-dfn-type=method data-export="" id=dom-dommatrix-setmatrixvalue title=setMatrixValue()>setMatrixValue(<var>transformList</var>)<a class=self-link href=#dom-dommatrix-setmatrixvalue></a></dfn></dt> |
1016 | 1016 | <dd> |
1017 | 1017 | <ol> |
1018 | | - <li>Parse <var>transformList</var> by following the syntax description in “<a href=http://www.w3.org/TR/css3-transforms/#svg-syntax>Syntax of the SVG ‘transform’ attribute</a>” <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-transforms title=biblio-css3-transforms>[CSS3-TRANSFORMS]</a> to a <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-list title="<transform-list>"><transform-list></a>. If parsing is not successful or any <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-function title="<transform-function>"><transform-function></a> has <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#length-value title="<length>"><length></a> values without <a data-link-spec=css-values data-link-type=dfn href=http://dev.w3.org/csswg/css-values-3/#absolute-length title="absolute length">absolute length</a> units, throw an <a data-link-spec=html5 data-link-type=dfn href=http://www.w3.org/html/wg/drafts/html/CR/infrastructure.html#js-syntaxerror title=syntaxerror>SyntaxError</a> exception.</li> |
| 1018 | + <li>Parse <var>transformList</var> by following the syntax description in “<a href=http://www.w3.org/TR/css-transforms-1/#svg-syntax>Syntax of the SVG ‘transform’ attribute</a>” <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-transforms title=biblio-css3-transforms>[CSS3-TRANSFORMS]</a> to a <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-list title="<transform-list>"><transform-list></a>. If parsing is not successful or any <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-function title="<transform-function>"><transform-function></a> has <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#length-value title="<length>"><length></a> values without <a data-link-spec=css-values data-link-type=dfn href=http://dev.w3.org/csswg/css-values-3/#absolute-length title="absolute length">absolute length</a> units, throw an <a data-link-spec=html5 data-link-type=dfn href=http://www.w3.org/html/wg/drafts/html/CR/infrastructure.html#js-syntaxerror title=syntaxerror>SyntaxError</a> exception.</li> |
1019 | 1019 | <li>Set <a data-link-type=dfn href=#is2d title=is2d>is2D</a> to <span class=css data-link-type=maybe title=false>false</span> if the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-list title="<transform-list>"><transform-list></a> consists of any <a href=http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions>3D Transform functions</a>. Otherwise set <a data-link-type=dfn href=#is2d title=is2d>is2D</a> to <span class=css data-link-type=maybe title=true>true</span>.</li> |
1020 | | - <li>Transform all <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-function title="<transform-function>"><transform-function></a>s to 4x4 matrices by following the “<a href=http://www.w3.org/TR/css3-transforms/#mathematical-description>Mathematical Description of Transform Functions</a>” <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-transforms title=biblio-css3-transforms>[CSS3-TRANSFORMS]</a>.</li> |
| 1020 | + <li>Transform all <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-transforms-1/#typedef-transform-function title="<transform-function>"><transform-function></a>s to 4x4 matrices by following the “<a href=http://www.w3.org/TR/css-transforms-1/#mathematical-description>Mathematical Description of Transform Functions</a>” <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-transforms title=biblio-css3-transforms>[CSS3-TRANSFORMS]</a>.</li> |
1021 | 1021 | <li>Post-multiply all matrices from left to right to a combined 4x4 matrix.</li> |
1022 | 1022 | <li>Set the <a class=idl-code data-link-type=attribute href=#dom-dommatrix-dommatrixreadonly-m11 title=m11>m11</a> to <a class=idl-code data-link-type=attribute href=#dom-dommatrix-dommatrixreadonly-m44 title=m44>m44</a> attributes to the element values of the 4x4 matrix in column-major order.</li> |
1023 | 1023 | <li>Return the current matrix.</li> |
|
0 commit comments