@@ -826,29 +826,28 @@ run the following steps:
826826
827827 <ul>
828828 <li><p> {{DOMMatrixInit/a}} and {{DOMMatrixInit/m11}} are both present and their values are not
829- the same.
829+ the <a for="WebIDL unrestricted double"> same</a> .
830830
831831 <li><p> {{DOMMatrixInit/b}} and {{DOMMatrixInit/m12}} are both present and their values are not
832- the same.
832+ the <a for="WebIDL unrestricted double"> same</a> .
833833
834834 <li><p> {{DOMMatrixInit/c}} and {{DOMMatrixInit/m21}} are both present and their values are not
835- the same.
835+ the <a for="WebIDL unrestricted double"> same</a> .
836836
837837 <li><p> {{DOMMatrixInit/d}} and {{DOMMatrixInit/m22}} are both present and their values are not
838- the same.
838+ the <a for="WebIDL unrestricted double"> same</a> .
839839
840840 <li><p> {{DOMMatrixInit/e}} and {{DOMMatrixInit/m41}} are both present and their values are not
841- the same.
841+ the <a for="WebIDL unrestricted double"> same</a> .
842842
843843 <li><p> {{DOMMatrixInit/f}} and {{DOMMatrixInit/m42}} are both present and their values are not
844- the same.
845-
846- <li><p> {{DOMMatrixInit/is2D}} is <code> true</code> and at least one of
847- {{DOMMatrixInit/m31}} , {{DOMMatrixInit/m32}} , {{DOMMatrixInit/m13}} , {{DOMMatrixInit/m23}} ,
848- {{DOMMatrixInit/m43}} , {{DOMMatrixInit/m14}} , {{DOMMatrixInit/m24}} , {{DOMMatrixInit/m34}}
849- are present with a value other than ''0'' ,
850- or at least one of {{DOMMatrixInit/m33}} , {{DOMMatrixInit/m44}}
851- are present with a value other than ''1'' .
844+ the <a for="WebIDL unrestricted double">same</a> .
845+
846+ <li><p> {{DOMMatrixInit/is2D}} is <code> true</code> and at least one of {{DOMMatrixInit/m13}} ,
847+ {{DOMMatrixInit/m14}} , {{DOMMatrixInit/m23}} , {{DOMMatrixInit/m24}} , {{DOMMatrixInit/m31}} ,
848+ {{DOMMatrixInit/m32}} , {{DOMMatrixInit/m34}} , {{DOMMatrixInit/m43}} are present with a value
849+ other than ''0'' , or at least one of {{DOMMatrixInit/m33}} , {{DOMMatrixInit/m44}} are present
850+ with a value other than ''1'' .
852851 </ul>
853852
854853 <li><p> If {{DOMMatrixInit/m11}} is not present then set it to the value of member
@@ -869,19 +868,21 @@ run the following steps:
869868 <li><p> If {{DOMMatrixInit/m42}} is not present then set it to the value of member
870869 {{DOMMatrixInit/f}} , or value ''0'' if {{DOMMatrixInit/f}} is also not present.
871870
872- <li><p> If {{DOMMatrixInit/is2D}} is not present and at least one of {{DOMMatrixInit/m31 }} ,
873- {{DOMMatrixInit/m32 }} , {{DOMMatrixInit/m13 }} , {{DOMMatrixInit/m23 }} , {{DOMMatrixInit/m43 }} ,
874- {{DOMMatrixInit/m14 }} , {{DOMMatrixInit/m24 }} , {{DOMMatrixInit/m34 }} are present with a value other
871+ <li><p> If {{DOMMatrixInit/is2D}} is not present and at least one of {{DOMMatrixInit/m13 }} ,
872+ {{DOMMatrixInit/m14 }} , {{DOMMatrixInit/m23 }} , {{DOMMatrixInit/m24 }} , {{DOMMatrixInit/m31 }} ,
873+ {{DOMMatrixInit/m32 }} , {{DOMMatrixInit/m34 }} , {{DOMMatrixInit/m43 }} are present with a value other
875874 than ''0'' , or at least one of {{DOMMatrixInit/m33}} , {{DOMMatrixInit/m44}} are present with a
876875 value other than ''1'' , set {{DOMMatrixInit/is2D}} to <code> false</code> .
877876
878877 <li><p> If {{DOMMatrixInit/is2D}} is still not present, set it to <code> true</code> .
879878</ol>
880879
881- <p> For the purpose of the algorithm above, two WebIDL unrestricted double values are the same if
882- they have identical IEEE 754 double-precision bit patterns.
880+ <p> For the purpose of the algorithm above, two WebIDL unrestricted double values are the <dfn
881+ for="WebIDL unrestricted double"> same</dfn> if they have identical IEEE 754 double-precision bit
882+ patterns.
883883
884- <p class=note> This means that two ''NaN'' values are the same.
884+ <p class=note> This means that two ''NaN'' values are the <a for="WebIDL unrestricted
885+ double">same</a> , but ''0'' and ''-0'' are not the <a for="WebIDL unrestricted double">same</a> .
885886
886887
887888<h3 id=dommatrix-create>Creating DOMMatrixReadOnly and DOMMatrix objects</h3>
@@ -896,9 +897,9 @@ they have identical IEEE 754 double-precision bit patterns.
896897 element</a> , <a for=matrix>m22 element</a> , <a for=matrix>m41 element</a> and <a for=matrix>m42
897898 element</a> to the values of <var> init</var> in order starting with the first value.
898899
899- <li><p> Set <a for=matrix>m31 element</a> , <a for=matrix>m32 element</a> , <a for=matrix>m13
900- element</a> , <a for=matrix>m23 element</a> , <a for=matrix>m43 element</a> , <a for=matrix>m14
901- element</a> , <a for=matrix>m24 element</a> and <a for=matrix>m34 element</a> to ''0'' .
900+ <li><p> Set <a for=matrix>m13 element</a> , <a for=matrix>m14 element</a> , <a for=matrix>m23
901+ element</a> , <a for=matrix>m24 element</a> , <a for=matrix>m31 element</a> , <a for=matrix>m32
902+ element</a> , <a for=matrix>m34 element</a> , and <a for=matrix>m43 element</a> to ''0'' .
902903
903904 <li><p> Set <a for=matrix>m33 element</a> and <a for=matrix>m44 element</a> to ''1'' .
904905
@@ -1078,9 +1079,9 @@ method on {{DOMMatrix}} must follow these steps:
10781079
10791080<p> The following attributes {{DOMMatrixReadOnly/m11}} to {{DOMMatrixReadOnly/m44}} correspond to the
1080108116 items of the matrix interfaces. For the {{DOMMatrix}} interface, if the attributes
1081- {{DOMMatrixReadOnly/m31 }} , {{DOMMatrixReadOnly/m32 }} , {{DOMMatrixReadOnly/m13 }} ,
1082- {{DOMMatrixReadOnly/m23 }} , {{DOMMatrixReadOnly/m43 }} , {{DOMMatrixReadOnly/m14 }} ,
1083- {{DOMMatrixReadOnly/m24 }} , {{DOMMatrixReadOnly/m34 }} are set to something else than ''0'' or
1082+ {{DOMMatrixReadOnly/m13 }} , {{DOMMatrixReadOnly/m14 }} , {{DOMMatrixReadOnly/m23 }} ,
1083+ {{DOMMatrixReadOnly/m24 }} , {{DOMMatrixReadOnly/m31 }} , {{DOMMatrixReadOnly/m32 }} ,
1084+ {{DOMMatrixReadOnly/m34 }} , or {{DOMMatrixReadOnly/m43 }} are set to something else than ''0'' or
10841085{{DOMMatrixReadOnly/m33}} , {{DOMMatrixReadOnly/m44}} are set to something else than ''1'' set <a
10851086for=matrix> is 2D</a> to <code> false</code> .
10861087
0 commit comments