You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="issue issue-marker"><pclass="desc">We need to resolve whether the computed value is the same as the specified value, or matrix().</p></div>
337
+
<p>The computed value of the transform property is a matrix() or matrix3d() value that describes the matrix that results from concatenating the individual transform functions. If the resulting matrix can be represented as a two-dimensional matrix with no loss of information, then a matrix() value is returned, otherwise a matrix3d() value. For elements with no transform applied, the computed value is 'none'.</p>
<h3id="svg-transform-origin">The 'transform-origin' property for SVG elements</h3>
481
486
487
+
<divclass="issue issue-marker">
488
+
<pclass="desc">Should we use 'auto', or explicitly say that transform-origin is 0 0 for SVG elements, 50% 50% for all other elements (<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15504">bug 15504</a>)?</p>
489
+
</div>
482
490
<p>To keep the 'transform' property compatible with existing SVG content that assumed a top/left
483
491
coordinate system origin, the user agent stylesheet must contain the following:</p>
484
492
@@ -501,6 +509,8 @@ <h2 id="transform-functions">
501
509
type <translation-value> is defined as a <length> or
502
510
<percentage> value, and the <angle> type is defined by <a
503
511
href="http://www.w3.org/TR/css3-values/">CSS Values and Units.</a>
512
+
Wherever <angle> is used in this specification, a <number> that is equal to
513
+
zero is also allowed, which is treated the same as an angle of zero degrees.
<pclass="desc">We actually describe a 3x2 matrix here, similar to <ahref="http://www.w3.org/TR/SVG/coords.html#InterfaceSVGMatrix">SVGMatrix</a>.
833
-
</p></div>
841
+
<pclass="desc">We actually describe a 3x2 matrix here, similar to <ahref="http://www.w3.org/TR/SVG/coords.html#InterfaceSVGMatrix">SVGMatrix</a>.</p>
842
+
</div>
843
+
<divclass="issue issue-marker">
844
+
<pclass="desc">We need to resolve how SVGMatrix and CSSMatrix work together (<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15498">bug 15498</a>).</p>
<divclass="issue issue-marker"><pclass="desc">We need to resolve how SVGMatrix and CSSMatrix work together.</p></div>
1230
-
<p>
1231
-
In addition to the interface listed above, the <code>getComputedStyle</code> method of the <code>Window</code>
1232
-
object has been updated. The <code>transform</code> property of the style object returned by
1233
-
<code>getComputedStyle</code> contains a DOMString of the form "matrix(a, b, c, d, e, f)"
1234
-
representing the 3x2 matrix that is the result of applying the individual functions listed in the
1235
-
<code>transform</code> property.
1236
-
</p>
1237
-
1238
-
1239
1240
<h2id="changes">Changes</h2>
1240
1241
1242
+
<h3id="changes_on_January_25_2012">
1243
+
Changes by Simon Fraser on January 25 2012
1244
+
</h3>
1245
+
<ul>
1246
+
<li>Potentially resolved <ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15471">bug 15471</a> and
1247
+
<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15535">bug 15535</a> by removing the text about getComputedStyle after CSS matrix, and adding a paragraph about the computed value of the 'transform' property.</li>
1248
+
<li>Fixed <ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15598">bug 15598</a>, adding a note about unitless 0 in angles.</li>
1249
+
</ul>
1250
+
1241
1251
<h3id="changes_from_January_24_2012">
1242
1252
Changes from <ahref="http://www.w3.org/TR/2012/ED-css3-2d-transforms-20110124/">January 24<sup>th</sup> 2012</a> version
0 commit comments