Skip to content

Commit 7c0663d

Browse files
author
Simon Pieters
committed
[cssom-view] DOMRect right/bottom were still wrong. right is max(x,x+width).
1 parent 23534b7 commit 7c0663d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cssom-view/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,11 +1683,11 @@ <h3 id="the-domrect-and-domrectreadonly-interfaces"><span class="secno">11.2 </s
16831683
coordinate</a>, <a href="#concept-geometry-rectangle-y-coordinate" title="concept-geometry-rectangle-y-coordinate">y coordinate</a> + <a href="#concept-geometry-rectangle-height" title="concept-geometry-rectangle-height">height</a>).
16841684

16851685
<p>The <dfn id="dom-domrectreadonly-right" title="dom-DOMRectReadOnly-right"><code>right</code></dfn> attribute, on getting, must return
1686-
max(<a href="#concept-geometry-rectangle-x-coordinate" title="concept-geometry-rectangle-x-coordinate">x coordinate</a>, <a href="#concept-geometry-rectangle-x-coordinate" title="concept-geometry-rectangle-x-coordinate">x coordinate</a> -
1686+
max(<a href="#concept-geometry-rectangle-x-coordinate" title="concept-geometry-rectangle-x-coordinate">x coordinate</a>, <a href="#concept-geometry-rectangle-x-coordinate" title="concept-geometry-rectangle-x-coordinate">x coordinate</a> +
16871687
<a href="#concept-geometry-rectangle-width" title="concept-geometry-rectangle-width">width</a>).
16881688

16891689
<p>The <dfn id="dom-domrectreadonly-bottom" title="dom-DOMRectReadOnly-bottom"><code>bottom</code></dfn> attribute, on getting, must return
1690-
max(<a href="#concept-geometry-rectangle-y-coordinate" title="concept-geometry-rectangle-y-coordinate">y coordinate</a>, <a href="#concept-geometry-rectangle-y-coordinate" title="concept-geometry-rectangle-y-coordinate">y coordinate</a> -
1690+
max(<a href="#concept-geometry-rectangle-y-coordinate" title="concept-geometry-rectangle-y-coordinate">y coordinate</a>, <a href="#concept-geometry-rectangle-y-coordinate" title="concept-geometry-rectangle-y-coordinate">y coordinate</a> +
16911691
<a href="#concept-geometry-rectangle-height" title="concept-geometry-rectangle-height">height</a>).
16921692

16931693
<p>The <dfn id="dom-domrectreadonly-left" title="dom-DOMRectReadOnly-left"><code>left</code></dfn> attribute, on getting, must return min(<a href="#concept-geometry-rectangle-x-coordinate" title="concept-geometry-rectangle-x-coordinate">x

cssom-view/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,11 +1641,11 @@ <h3>The <code title>DOMRect</code> and <code title>DOMRectReadOnly</code> Interf
16411641
coordinate</span>, <span title=concept-geometry-rectangle-y-coordinate>y coordinate</span> + <span title=concept-geometry-rectangle-height>height</span>).
16421642

16431643
<p>The <dfn title=dom-DOMRectReadOnly-right><code>right</code></dfn> attribute, on getting, must return
1644-
max(<span title=concept-geometry-rectangle-x-coordinate>x coordinate</span>, <span title=concept-geometry-rectangle-x-coordinate>x coordinate</span> -
1644+
max(<span title=concept-geometry-rectangle-x-coordinate>x coordinate</span>, <span title=concept-geometry-rectangle-x-coordinate>x coordinate</span> +
16451645
<span title=concept-geometry-rectangle-width>width</span>).
16461646

16471647
<p>The <dfn title=dom-DOMRectReadOnly-bottom><code>bottom</code></dfn> attribute, on getting, must return
1648-
max(<span title=concept-geometry-rectangle-y-coordinate>y coordinate</span>, <span title=concept-geometry-rectangle-y-coordinate>y coordinate</span> -
1648+
max(<span title=concept-geometry-rectangle-y-coordinate>y coordinate</span>, <span title=concept-geometry-rectangle-y-coordinate>y coordinate</span> +
16491649
<span title=concept-geometry-rectangle-height>height</span>).
16501650

16511651
<p>The <dfn title=dom-DOMRectReadOnly-left><code>left</code></dfn> attribute, on getting, must return min(<span title=concept-geometry-rectangle-x-coordinate>x

0 commit comments

Comments
 (0)