@@ -61,7 +61,7 @@ rectangles, quadrilaterals and transformation matrices with the dimension of 3x2
6161
6262<p> The SVG interfaces {{SVGPoint}} , {{SVGRect}} and {{SVGMatrix}} are aliasing the here defined
6363interfaces in favor for common interfaces used by SVG, Canvas 2D Context and CSS
64- Transforms. [[SVG11]] [[2DCONTEXT ]] [[CSS3-TRANSFORMS]]
64+ Transforms. [[SVG11]] [[HTML ]] [[CSS3-TRANSFORMS]]
6565
6666
6767<h2 id=DOMPoint>The DOMPoint interfaces</h2>
@@ -568,23 +568,23 @@ algorithm:
568568 new DOMQuad({x: 40, y: 25}, {x: 180, y: 8}, {x: 210, y: 150}, {x: 10, y: 180});
569569 </code></pre>
570570
571- <div class=" figure" >
572- <svg width="230" height="200">
573- <title> An irregular quadrilateral with none of the sides being vertical or horizontal. Its four
574- corners are marked with red circles. Around this quadrilateral is a dashed rectangle. All sides
575- of this rectangle are vertical or horizontal and tangent the quadrilateral.</title >
571+ <figure>
572+ <svg width="230" height="200" aria-role="img" aria-label="An irregular quadrilateral with none of
573+ the sides being vertical or horizontal. Its four corners are marked with red circles. Around this
574+ quadrilateral is a dashed rectangle. All sides of this rectangle are vertical or horizontal and
575+ tangent the quadrilateral." >
576576 <polygon points="40 25, 180 8, 210 150, 10 180" fill="rgb(51, 153, 204)"/>
577577 <rect x="10" y="8" width="200" height="172" fill="none" stroke="black" stroke-dasharray="3 2"/>
578578 <circle cx="40" cy="25" r="3" fill="rgb(204, 51, 51)"/>
579579 <circle cx="180" cy="8" r="3" fill="rgb(204, 51, 51)"/>
580580 <circle cx="210" cy="150" r="3" fill="rgb(204, 51, 51)"/>
581581 <circle cx="10" cy="180" r="3" fill="rgb(204, 51, 51)"/>
582582 </svg>
583- <p class="capture" > An irregular quadrilateral represented by a {{DOMQuad}} . The four red colored
583+ <figcaption > An irregular quadrilateral represented by a {{DOMQuad}} . The four red colored
584584 circles represent the {{DOMPoint}} attributes {{DOMQuad/p1}} to {{DOMQuad/p4}} . The dashed
585585 rectangle represents the bounding rectangle returned by the {{DOMQuad/getBounds()}} method of the
586- {{DOMQuad}} .
587- </div >
586+ {{DOMQuad}} .</figcaption>
587+ </figure >
588588</div>
589589
590590
@@ -594,10 +594,11 @@ algorithm:
594594caniuse=dommatrix> matrix</dfn> with the purpose of describing transformations in a graphical
595595context. The following sections describe the details of the interface.
596596
597- <div class=" figure" >
597+ <figure>
598598 <math display=block><mrow><mfenced open=[ close=] separators=,><mrow><mtable><mtr><mtd><msub><mi> m</mi><mi> 11</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 21</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 31</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 41</mi></msub></mtd></mtr><mtr><mtd><msub><mi> m</mi><mi> 12</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 22</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 32</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 42</mi></msub></mtd></mtr><mtr><mtd><msub><mi> m</mi><mi> 13</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 23</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 33</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 43</mi></msub></mtd></mtr><mtr><mtd><msub><mi> m</mi><mi> 14</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 24</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 34</mi></msub></mtd><mtd><msub><mi> m</mi><mi> 44</mi></msub></mtd></mtr></mtable></mrow></mfenced></mrow></math>
599- <p class="capture"> A <dfn lt="abstract matrix">4x4 matrix</dfn> with items m11 to m44.
600- </div>
599+ <figcaption> A <dfn>4x4 abstract matrix</dfn> with items <var
600+ ignore> m<sub> 11</sub></var> to <var ignore> m<sub> 44</sub></var> .</figcaption>
601+ </figure>
601602
602603<p> In the following sections, terms have the following meaning:
603604
@@ -874,8 +875,8 @@ values, and also for ''0'' and ''-0''. [[!ECMA-262]]
874875<h3 id=dommatrix-parse algorithm>Parsing a string into an abstract matrix</h3>
875876
876877<p> To <dfn>parse a string into an abstract matrix</dfn> , given a string <var> transformList</var> ,
877- means to run the following steps. It will either return a <a lt=" abstract matrix">4x4 matrix </a> and
878- a boolean <var> 2dTransform</var> , or failure.
878+ means to run the following steps. It will either return a <a>4x4 abstract matrix</a> and a boolean
879+ <var> 2dTransform</var> , or failure.
879880
880881<ol>
881882 <li><p> If <var> transformList</var> is the empty string, set it to the string "<code> matrix(1, 0, 0,
@@ -903,12 +904,12 @@ a boolean <var>2dTransform</var>, or failure.
903904 <dd><p> Set <var> 2dTransform</var> to <code> true</code> .
904905 </dl>
905906
906- <li><p> Transform all <<transform-function>> s to <a lt="abstract matrix">4x4 matrices</a> by
907- following the “<a
907+ <li><p> Transform all <<transform-function>> s to <a lt="4x4 abstract matrix">4x4 abstract
908+ matrices</a> by following the “<a
908909 href=https://drafts.csswg.org/css-transforms-1/#mathematical-description> Mathematical Description
909910 of Transform Functions</a> ”. [[!CSS3-TRANSFORMS]]
910911
911- <li><p> Let <var> matrix</var> be a <a lt="abstract matrix" >4x4 matrix</a> as shown in the initial
912+ <li><p> Let <var> matrix</var> be a <a>4x4 abstract matrix</a> as shown in the initial
912913 figure of this section. <a for=matrix>Post-multiply</a> all matrices from left to right and set
913914 <var> matrix</var> to this product.
914915
0 commit comments