Skip to content

Commit 7f43f6b

Browse files
author
Simon Pieters
committed
1 parent 86f590e commit 7f43f6b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cssom-view/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ <h2 id="extensions-to-the-htmlelement-interface"><span class="secno">7 </span>Ex
657657
<dt class="attribute" id="widl-HTMLElement-offsetLeft">
658658
<dfn id="widl-HTMLElement-offsetLeft"><code>offsetLeft</code></dfn> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt>
659659
<dd>
660-
<p>The {@name{} attribute must return the result of running these steps:</p> <ol> <li><p>If the element is <a href="#the-html-body-element">the HTML <code>body</code> element</a> or does not have any associated <a href="#css-layout-box">CSS layout box</a> return zero and terminate this algorithm.</li> <li><p>If the <code title="widl-HTMLElement-offsetParent">offsetParent</code> of the element is null return the x-coordinate of the left <a href="#border-edge">border edge</a> of the first <a href="#css-layout-box">CSS layout box</a> associated with the element, relative to the <a href="#initial-containing-block">initial containing block</a> origin, and terminate this algorithm.</li> <li> <p>Return the result of subtracting the x-coordinate of the left <a href="#padding-edge">padding edge</a> of the first <a href="#css-layout-box">CSS layout box</a> associated with the <code title="widl-HTMLElement-offsetParent">offsetParent</code> of the element from the x-coordinate of the left <a href="#border-edge">border edge</a> of the first <a href="#css-layout-box">CSS layout box</a> associated with the element, relative to the <a href="#initial-containing-block">initial containing block</a> origin.</p> </li> </ol></dd>
660+
<p>The <code><a href="#widl-HTMLElement-offsetLeft">offsetLeft</a></code> attribute must return the result of running these steps:</p> <ol> <li><p>If the element is <a href="#the-html-body-element">the HTML <code>body</code> element</a> or does not have any associated <a href="#css-layout-box">CSS layout box</a> return zero and terminate this algorithm.</li> <li><p>If the <code title="widl-HTMLElement-offsetParent">offsetParent</code> of the element is null return the x-coordinate of the left <a href="#border-edge">border edge</a> of the first <a href="#css-layout-box">CSS layout box</a> associated with the element, relative to the <a href="#initial-containing-block">initial containing block</a> origin, and terminate this algorithm.</li> <li> <p>Return the result of subtracting the x-coordinate of the left <a href="#padding-edge">padding edge</a> of the first <a href="#css-layout-box">CSS layout box</a> associated with the <code title="widl-HTMLElement-offsetParent">offsetParent</code> of the element from the x-coordinate of the left <a href="#border-edge">border edge</a> of the first <a href="#css-layout-box">CSS layout box</a> associated with the element, relative to the <a href="#initial-containing-block">initial containing block</a> origin.</p> </li> </ol></dd>
661661
<dt class="attribute" id="widl-HTMLElement-offsetWidth">
662662
<dfn id="widl-HTMLElement-offsetWidth"><code>offsetWidth</code></dfn> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt>
663663
<dd>

cssom-view/idl/HTMLElement.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ partial interface HTMLElement {
5858
readonly attribute long offsetTop;
5959

6060
[Documentation=
61-
"<p>The {@name{} {@type} must return the result of running these steps:</p>\
61+
"<p>The {@name} {@type} must return the result of running these steps:</p>\
6262
<ol>\
6363
<li><p>If the element is <span>the HTML <code>body</code>\
6464
element</span> or does not have any associated <span>CSS layout box</span> return zero\

0 commit comments

Comments
 (0)