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
company: "Adobe Systems Inc.",companyURL: "http://adobe.com/"},
@@ -31,9 +27,16 @@
31
27
// name (without the @w3c.org) of the public mailing to which comments are due
32
28
wgPublicList: "public-fx",
33
29
wgPatentURI: "",
30
+
noIDLSorting: true,
34
31
noIDLIn: true,
35
32
};
36
33
</script>
34
+
<styletype="text/css">
35
+
body {
36
+
max-width:50em;
37
+
margin:0 auto !important;
38
+
}
39
+
</style>
37
40
</head>
38
41
<body>
39
42
<sectionid='abstract'>
@@ -207,7 +210,7 @@ <h3>The constructors</h3>
207
210
<dd>A DOMString of transformation functions with the syntax and specifies defined in CSS Transforms [[!CSS3-TRANSFORMS]]. One CSS pixel length maps to one unit less value in the matrix.</dd>
208
211
</dl>
209
212
The DOMString must consist of a transform function list as specified by CSS Transforms.
210
-
<divclass='example'>
213
+
<preclass='example'>
211
214
<p>In the following example a CSS Transform string is passed to the DOMMatrix constructor.</p>
212
215
<pre><code>var matrix = new DOMMatrix("translate(20px,20px), scale(2,3), rotate(45deg)"</code></pre>
213
216
<p>The resulting matrix is equal to the following sequence of method calls:</p>
@@ -217,7 +220,7 @@ <h3>The constructors</h3>
217
220
matrix.scaleNonUniformBy(2,3);
218
221
matrix.rotateBy(45);
219
222
</code></pre>
220
-
</div>
223
+
</pre>
221
224
<pclass='issue'>Should unit-less values (like for SVG transform presentation attribute) be allowed too? <code>"translate(20,20)"</code></p>
222
225
<p>Throws a <var>DOMException</var> with name <code>SyntaxError</code> if the <code>DOMString</code> parameter does not validate to a transform list [[!CSS3-TRANSFORMS]].
223
226
</dd>
@@ -762,7 +765,7 @@ <h3>Helper methods</h3>
762
765
<dt>DOMString stringifier ()</dt>
763
766
<dd>
764
767
Returns a string in the form of a CSS Transforms <code>matrix</code> function if the current matrix is a 2D transform or a CSS Transforms <code>matrix3d</code> else. The syntax is as specified in CSS Transforms [[!CSS3-TRANSFORMS]].
765
-
<divclass='example'>
768
+
<preclass='example'>
766
769
<p>In this example a matrix is created and several methods with 2D transformations are called.</p>
767
770
<pre><code>var matrix = new DOMMatrix();
768
771
matrix.scaleBy(2);
@@ -774,7 +777,7 @@ <h3>Helper methods</h3>
774
777
matrix.scale3dBy(2);</code></pre>
775
778
<p>Calling <code>matrix.toString()</code> after the snippet above returns the DOM string:</p>
0 commit comments