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
'table-column-group' must be considered to have an associated <ahref="#css-layout-box">CSS
420
420
layout box</a> (the column or column group, respectively).</p>
421
421
422
+
<p>The term <dfnid="svg-layout-box">SVG layout box</dfn> refers to the same term in SVG.
423
+
424
+
<pclass="issue">The terms <ahref="#css-layout-box">CSS layout box</a> and <ahref="#svg-layout-box">SVG layout box</a> are not currently defined by CSS or SVG.
425
+
426
+
<p>The term <dfnid="layout-box">layout box</dfn> refers to either a <ahref="#css-layout-box">CSS layout box</a> or an <ahref="#svg-layout-box">SVG layout box</a>.
<p>The <dfnid="dom-element-getclientrects" title="dom-Element-getClientRects"><code>getClientRects()</code></dfn> method, when invoked, must return the result of the following algorithm:</p>
826
832
<ol>
827
833
<li><p>If the element on which it was invoked does not have an associated
828
-
<ahref="#css-layout-box">CSS layout box</a> and is not in the <codetitle="">http://www.w3.org/2000/svg</code>
829
-
namespace return an empty <code><ahref="#clientrectlist">ClientRectList</a></code> object and stop
834
+
<ahref="#layout-box">layout box</a> return an empty <code><ahref="#clientrectlist">ClientRectList</a></code> object and stop
830
835
this algorithm.</li>
831
-
<li><p>If the element does not have an associated <ahref="#css-layout-box">CSS layout box</a> and is
832
-
in the <codetitle="">http://www.w3.org/2000/svg</code> namespace return a
836
+
<li><p>If the element has an associated <ahref="#svg-layout-box">SVG layout box</a> return a
833
837
<code><ahref="#clientrectlist">ClientRectList</a></code> object containing a single
834
838
<code><ahref="#clientrect">ClientRect</a></code> object that describes the bounding box of the
Copy file name to clipboardExpand all lines: cssom-view/Overview.src.html
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -205,7 +205,7 @@ <h2>Terminology</h2>
205
205
<p><dfn>Viewport</dfn> and
206
206
<dfn>initial containing block</dfn> are
207
207
defined by CSS 2.1 unless there is an ancestor <codetitle>foreignObject</code>
208
-
element in the <codetitle>http://www.w3.org/2000/svg</code> namespace in which
208
+
element in the <codetitle>http://www.w3.org/2000/svg</code> namespace that has an associated <span>SVG layout box</span>in which
209
209
case that element acts as viewport and initial containing block.
210
210
<!--<span data-anolis-ref>CSS</span>-->
211
211
@@ -381,6 +381,12 @@ <h2>Terminology</h2>
381
381
'table-column-group' must be considered to have an associated <span>CSS
382
382
layout box</span> (the column or column group, respectively).</p>
383
383
384
+
<p>The term <dfn>SVG layout box</dfn> refers to the same term in SVG.
385
+
386
+
<pclass=issue>The terms <span>CSS layout box</span> and <span>SVG layout box</span> are not currently defined by CSS or SVG.
387
+
388
+
<p>The term <dfn>layout box</dfn> refers to either a <span>CSS layout box</span> or an <span>SVG layout box</span>.
389
+
384
390
<h3>CSS pixels</h3>
385
391
386
392
<p>All coordinates and dimensions for the APIs defined in this
@@ -787,11 +793,9 @@ <h2>Extensions to the <code title>Element</code> Interface</h2>
787
793
<p>The <dfntitle=dom-Element-getClientRects><code>getClientRects()</code></dfn> method, when invoked, must return the result of the following algorithm:</p>
788
794
<ol>
789
795
<li><p>If the element on which it was invoked does not have an associated
790
-
<span>CSS layout box</span> and is not in the <codetitle>http://www.w3.org/2000/svg</code>
791
-
namespace return an empty <code>ClientRectList</code> object and stop
796
+
<span>layout box</span> return an empty <code>ClientRectList</code> object and stop
792
797
this algorithm.</p></li>
793
-
<li><p>If the element does not have an associated <span>CSS layout box</span> and is
794
-
in the <codetitle>http://www.w3.org/2000/svg</code> namespace return a
798
+
<li><p>If the element has an associated <span>SVG layout box</span> return a
795
799
<code>ClientRectList</code> object containing a single
796
800
<code>ClientRect</code> object that describes the bounding box of the
0 commit comments