Skip to content

Commit 01620ca

Browse files
committed
Merge pull request #219 from w3c/zcorpan/fix-example
[geometry] Editorial: Fix incorrect examples. Thanks to for the WPT test, PR merged.
1 parent 97cf9ba commit 01620ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

geometry/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -610,11 +610,11 @@ algorithm:
610610

611611
<pre><code highlight=javascript>
612612
var point = new DOMPoint(2, 0);
613-
var quad1 = new DOMQuad(point, {x: 12, y: 0}, {x: 2, y: 10}, {x: 12, y: 10});
613+
var quad1 = new DOMQuad(point, {x: 12, y: 0}, {x: 12, y: 10}, {x: 2, y: 10});
614614
</code></pre>
615615

616-
<p>The attribute values of the resulting {{DOMQuad}} <var ignore>quad1</var> above are also equal
617-
to the attribute values of the following {{DOMQuad}} <var ignore>quad2</var>:
616+
<p>The attribute values of the resulting {{DOMQuad}} <var ignore>quad1</var> above are also
617+
equivalent to the attribute values of the following {{DOMQuad}} <var ignore>quad2</var>:
618618

619619
<pre><code highlight=javascript>
620620
var rect = new DOMRect(2, 0, 10, 10);
@@ -1591,7 +1591,7 @@ export>is 2D</dfn>. This flag indicates that:
15911591
matrix.scaleSelf(2);
15921592
matrix.translateSelf(20,20);
15931593
console.assert(matrix.toString() ===
1594-
"matrix(2, 0, 0, 2, 20, 20)");
1594+
"matrix(2, 0, 0, 2, 40, 40)");
15951595
</code></pre>
15961596
</div>
15971597

0 commit comments

Comments
 (0)