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
Copy file name to clipboardExpand all lines: geometry/Overview.bs
+7-15Lines changed: 7 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Abstract: This specification provides basic geometric interfaces to represent po
21
21
!Issues list: <a href="https://www.w3.org/Bugs/Public/buglist.cgi?product=FXTF&component=Geometry&resolution=---">Bugzilla</a> (<a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=FXTF&component=Geometry">file a bug</a>)
22
22
Test Suite: http://test.csswg.org/suites/geometry-1_dev/nightly-unstable/
23
23
Use <i> Autolinks: yes
24
-
Ignored Vars: f, Point object, m44, e, m42, quad1, m41, stringifier, point object, m12, c, transformPoint, m21, d, m22, quad2, sz
24
+
Ignored Vars: a, b, f, Point object, m44, e, m42, quad1, m41, stringifier, point object, m12, c, transformPoint, m21, d, m22, quad2, sz
25
25
</pre>
26
26
27
27
<pre class=anchors>
@@ -636,12 +636,12 @@ To <dfn>validate and fixup</dfn> a {{DOMMatrixInit}} dictionary <var>dict</var>,
636
636
or at least one of {{DOMMatrixInit/m33}}, {{DOMMatrixInit/m44}}
637
637
are present with a value other than ''1''.
638
638
</ul>
639
-
<li><a>Set the dictionary members</a>{{DOMMatrixInit/a}}and {{DOMMatrixInit/m11}} with fallback value ''1''.
640
-
<li><a>Set the dictionary members</a>{{DOMMatrixInit/b}}and {{DOMMatrixInit/m12}} with fallback value ''0''.
641
-
<li><a>Set the dictionary members</a>{{DOMMatrixInit/c}}and {{DOMMatrixInit/m21}} with fallback value ''0''.
642
-
<li><a>Set the dictionary members</a>{{DOMMatrixInit/d}}and {{DOMMatrixInit/m22}} with fallback value ''1''.
643
-
<li><a>Set the dictionary members</a>{{DOMMatrixInit/e}}and {{DOMMatrixInit/m41}} with fallback value ''0''.
644
-
<li><a>Set the dictionary members</a>{{DOMMatrixInit/f}}and {{DOMMatrixInit/m42}} with fallback value ''0''.
639
+
<li>If {{DOMMatrixInit/m11}}is not present then set it to the value of member {{DOMMatrixInit/a}}, or value ''1'' if {{DOMMatrixInit/a}} is also not present.
640
+
<li>If {{DOMMatrixInit/m12}}is not present then set it to the value of member {{DOMMatrixInit/b}}, or value ''0'' if {{DOMMatrixInit/b}} is also not present.
641
+
<li>If {{DOMMatrixInit/m21}}is not present then set it to the value of member {{DOMMatrixInit/c}}, or value ''0'' if {{DOMMatrixInit/c}} is also not present.
642
+
<li>If {{DOMMatrixInit/m22}}is not present then set it to the value of member {{DOMMatrixInit/d}}, or value ''1'' if {{DOMMatrixInit/d}} is also not present.
643
+
<li>If {{DOMMatrixInit/m41}}is not present then set it to the value of member {{DOMMatrixInit/e}}, or value ''0'' if {{DOMMatrixInit/e}} is also not present.
644
+
<li>If {{DOMMatrixInit/m42}}is not present then set it to the value of member {{DOMMatrixInit/f}}, or value ''0'' if {{DOMMatrixInit/f}} is also not present.
645
645
<li>If {{DOMMatrixInit/is2D}} is not present and at least one of
@@ -657,14 +657,6 @@ are the same if they have identical IEEE 754 double-precision bit patterns.
657
657
658
658
Note: This means that two ''NaN'' values are the same.
659
659
660
-
To <dfn>set the dictionary members</dfn><var>a</var> and <var>b</var> of a {{DOMMatrixInit}} dictionary, with a fallback value <var>fallback</var>, run the following steps:
661
-
662
-
<ol>
663
-
<li>If <var>a</var> is present and <var>b</var> is not present, set the <var>b</var> dictionary member to the value of <var>a</var>.
664
-
<li>Otherwise, if <var>b</var> is present and <var>a</var> is not present, set the <var>a</var> dictionary member to the value of <var>b</var>.
665
-
<li>Otherwise, if neither <var>a</var> or <var>b</var> are present, set <var>a</var> and <var>b</var> dictionary members to <var>fallback</var>.
666
-
</ol>
667
-
668
660
<h3 id='dommatrix-create'>Creating DOMMatrixReadOnly and DOMMatrix objects</h3>
669
661
670
662
To <dfn>create a 2d matrix</dfn> of type <var>type</var> being either {{DOMMatrixReadOnly}} or {{DOMMatrix}},
0 commit comments