@@ -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 >
0 commit comments