Skip to content

Commit b4b0255

Browse files
committed
offsetRight -> offsetTop...
1 parent 27e1e79 commit b4b0255

2 files changed

Lines changed: 27 additions & 27 deletions

File tree

cssom/Overview.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ <h2 class="no-num no-toc" id=toc>Table of Contents</h2>
274274
<li><a href="#determining"><span class=secno>4.2.2.1.
275275
</span>Determining <code>offsetParent</code></a>
276276

277-
<li><a href="#offsetleft"><span class=secno>4.2.2.2.
278-
</span><code>offsetLeft</code> and <code>offsetRight</code></a>
277+
<li><a href="#offsettop"><span class=secno>4.2.2.2.
278+
</span><code>offsetTop</code> and <code>offsetLeft</code></a>
279279

280280
<li><a href="#offsetwidth"><span class=secno>4.2.2.3.
281281
</span><code>offsetWidth</code> and <code>offsetHeight</code></a>
@@ -2306,7 +2306,7 @@ <h3 id=the-elementlayout><span class=secno>4.2. </span>The <code><a
23062306
<a href="#textrectanglelist">TextRectangleList</a> <a href="#elementlayout-getclientrects">getClientRects</a>();
23072307
<a href="#textrectangle">TextRectangle</a> <a href="#elementlayout-getboundingclientrect">getBoundingClientRect</a>();
23082308

2309-
readonly attribute float <span>offsetTop</span>;
2309+
readonly attribute float <a href="#elementlayout-offsettop">offsetTop</a>;
23102310
readonly attribute float <a href="#elementlayout-offsetleft">offsetLeft</a>;
23112311
readonly attribute float <a href="#elementlayout-offsetwidth">offsetWidth</a>;
23122312
readonly attribute float <a href="#elementlayout-offsetheight">offsetHeight</a>;
@@ -2477,33 +2477,33 @@ <h5 id=determining><span class=secno>4.2.2.1. </span>Determining <code><a
24772477
href="#elementlayout-offsetparent">offsetParent</a></code> <em
24782478
class=ct>must</em> be <code>null</code>.
24792479

2480-
<h5 id=offsetleft><span class=secno>4.2.2.2. </span><code><a
2481-
href="#elementlayout-offsetleft">offsetLeft</a></code> and <code><a
2482-
href="#elementlayout-offsetright">offsetRight</a></code></h5>
2480+
<h5 id=offsettop><span class=secno>4.2.2.2. </span><code><a
2481+
href="#elementlayout-offsettop">offsetTop</a></code> and <code><a
2482+
href="#elementlayout-offsetleft">offsetLeft</a></code></h5>
24832483
<!--XXX add something about the assumption that nothing is scrolled here?-->
24842484

2485-
<p>The <dfn id=elementlayout-offsetleft><code>offsetLeft</code></dfn>
2485+
<p>The <dfn id=elementlayout-offsettop><code>offsetTop</code></dfn>
24862486
attribute of <code>Element</code> node <var>A</var> <em class=ct>must</em>
2487-
be the number of pixels that the top border edge of <var>A</var> is to the
2488-
right of the top border edge of <code><var>A</var>.offsetParent</code>. If
2487+
be the number of pixels that the top border edge of <var>A</var> is below
2488+
the top border edge of <code><var>A</var>.offsetParent</code>. If
24892489
<code><var>A</var>.offsetParent</code> is <code>null</code> or represents
24902490
<span>the <code>body</code> element</span><!-- XXX ref--> it <em
24912491
class=ct>must</em> be the number of pixels that the top border edge of
2492-
<var>A</var> is to the right of the origin (0,0) of the initial containing
2493-
block.
2492+
<var>A</var> is below the origin (0,0) of the initial containing block.
24942493

2495-
<p>The <dfn id=elementlayout-offsetright><code>offsetRight</code></dfn>
2494+
<p>The <dfn id=elementlayout-offsetleft><code>offsetLeft</code></dfn>
24962495
attribute of <code>Element</code> node <var>A</var> <em class=ct>must</em>
2497-
be the number of pixels that the top border edge of <var>A</var> is below
2498-
the top border edge of <code><var>A</var>.offsetParent</code>. If
2496+
be the number of pixels that the top border edge of <var>A</var> is to the
2497+
right of the top border edge of <code><var>A</var>.offsetParent</code>. If
24992498
<code><var>A</var>.offsetParent</code> is <code>null</code> or represents
25002499
<span>the <code>body</code> element</span><!-- XXX ref--> it <em
25012500
class=ct>must</em> be the number of pixels that the top border edge of
2502-
<var>A</var> is below the origin (0,0) of the initial containing block.
2501+
<var>A</var> is to the right of the origin (0,0) of the initial containing
2502+
block.
25032503

25042504
<p>When <var>A</var> is <span>the <code>body</code> element</span> <code><a
2505-
href="#elementlayout-offsetleft">offsetLeft</a></code> and <code><a
2506-
href="#elementlayout-offsetright">offsetRight</a></code> <em
2505+
href="#elementlayout-offsettop">offsetTop</a></code> and <code><a
2506+
href="#elementlayout-offsetleft">offsetLeft</a></code> <em
25072507
class=ct>must</em> be <code>null</code>.
25082508

25092509
<p class=issue>See source code for some remarks on <code>html:map</code>

cssom/Overview.src.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,32 +2053,32 @@ <h5>Determining <code>offsetParent</code></h5>
20532053
<p>If no such ancestor is found <code>offsetParent</code>
20542054
<em class="ct">must</em> be <code>null</code>.</p>
20552055

2056-
<h5><code>offsetLeft</code> and <code>offsetRight</code></h5>
2056+
<h5><code>offsetTop</code> and <code>offsetLeft</code></h5>
20572057

20582058
<!--XXX add something about the assumption that nothing is scrolled here?-->
20592059

2060-
<p>The <dfn id="elementlayout-offsetleft"><code>offsetLeft</code></dfn>
2060+
<p>The <dfn id="elementlayout-offsettop"><code>offsetTop</code></dfn>
20612061
attribute of <code>Element</code> node <var>A</var> <em class="ct">must</em>
2062-
be the number of pixels that the top border edge of <var>A</var> is to the
2063-
right of the top border edge of <code><var>A</var>.offsetParent</code>. If
2062+
be the number of pixels that the top border edge of <var>A</var> is below
2063+
the top border edge of <code><var>A</var>.offsetParent</code>. If
20642064
<code><var>A</var>.offsetParent</code> is <code>null</code> or represents
20652065
<span>the <code>body</code> element</span><!-- XXX ref--> it
20662066
<em class="ct">must</em> be the number of pixels that the top border edge of
2067-
<var>A</var> is to the right of the origin (0,0) of the initial containing
2067+
<var>A</var> is below the origin (0,0) of the initial containing
20682068
block.</p>
20692069

2070-
<p>The <dfn id="elementlayout-offsetright"><code>offsetRight</code></dfn>
2070+
<p>The <dfn id="elementlayout-offsetleft"><code>offsetLeft</code></dfn>
20712071
attribute of <code>Element</code> node <var>A</var> <em class="ct">must</em>
2072-
be the number of pixels that the top border edge of <var>A</var> is below
2073-
the top border edge of <code><var>A</var>.offsetParent</code>. If
2072+
be the number of pixels that the top border edge of <var>A</var> is to the
2073+
right of the top border edge of <code><var>A</var>.offsetParent</code>. If
20742074
<code><var>A</var>.offsetParent</code> is <code>null</code> or represents
20752075
<span>the <code>body</code> element</span><!-- XXX ref--> it
20762076
<em class="ct">must</em> be the number of pixels that the top border edge of
2077-
<var>A</var> is below the origin (0,0) of the initial containing
2077+
<var>A</var> is to the right of the origin (0,0) of the initial containing
20782078
block.</p>
20792079

20802080
<p>When <var>A</var> is <span>the <code>body</code> element</span>
2081-
<code>offsetLeft</code> and <code>offsetRight</code> <em class="ct">must</em>
2081+
<code>offsetTop</code> and <code>offsetLeft</code> <em class="ct">must</em>
20822082
be <code>null</code>.</p>
20832083

20842084
<p class="issue">See source code for some remarks on <code>html:map</code>

0 commit comments

Comments
 (0)