- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jul 2011 13:33:50 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/cssom-view
In directory hutz:/tmp/cvs-serv32575
Modified Files:
Overview.html Overview.src.html
Log Message:
xref offset*
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/cssom-view/Overview.html,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- Overview.html 6 Jul 2011 13:27:56 -0000 1.104
+++ Overview.html 6 Jul 2011 13:33:48 -0000 1.105
@@ -1006,11 +1006,11 @@
<h2 id="extensions-to-the-htmlelement-interface"><span class="secno">7 </span>Extensions to the <code title="">HTMLElement</code> Interface</h2>
<pre class="idl">partial interface <a class="external" href="http://www.whatwg.org/html/#htmlelement">HTMLElement</a> {
- readonly attribute Element <a href="#dom-htmlelement-offsetparent">offsetParent</a>;
- readonly attribute long <a href="#dom-htmlelement-offsettop">offsetTop</a>;
- readonly attribute long <a href="#dom-htmlelement-offsetleft">offsetLeft</a>;
- readonly attribute long <a href="#dom-htmlelement-offsetwidth">offsetWidth</a>;
- readonly attribute long <a href="#dom-htmlelement-offsetheight">offsetHeight</a>;
+ readonly attribute Element <a href="#dom-htmlelement-offsetparent" title="dom-HTMLElement-offsetParent">offsetParent</a>;
+ readonly attribute long <a href="#dom-htmlelement-offsettop" title="dom-HTMLElement-offsetTop">offsetTop</a>;
+ readonly attribute long <a href="#dom-htmlelement-offsetleft" title="dom-HTMLElement-offsetLeft">offsetLeft</a>;
+ readonly attribute long <a href="#dom-htmlelement-offsetwidth" title="dom-HTMLElement-offsetWidth">offsetWidth</a>;
+ readonly attribute long <a href="#dom-htmlelement-offsetheight" title="dom-HTMLElement-offsetHeight">offsetHeight</a>;
};</pre>
@@ -1020,7 +1020,7 @@
attributes</h3>
<p>The
- <dfn id="dom-htmlelement-offsetparent"><code>offsetParent</code></dfn>
+ <dfn id="dom-htmlelement-offsetparent" title="dom-HTMLElement-offsetParent"><code>offsetParent</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -1063,7 +1063,7 @@
<li><p>Return null.</li>
</ol>
- <p>The <dfn id="dom-htmlelement-offsettop"><code>offsetTop</code></dfn>
+ <p>The <dfn id="dom-htmlelement-offsettop" title="dom-HTMLElement-offsetTop"><code>offsetTop</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -1072,7 +1072,7 @@
or does not have any associated CSS layout box return zero and terminate
this algorithm.</li>
- <li><p>If the <code><a href="#dom-htmlelement-offsetparent">offsetParent</a></code> of the element is null return the
+ <li><p>If the <code title="dom-HTMLElement-offsetParent"><a href="#dom-htmlelement-offsetparent">offsetParent</a></code> of the element is null return the
y-coordinate of the top <a href="#border-edge">border edge</a> of the first
CSS layout box associated with the element, relative to the
<a href="#initial-containing-block">initial containing block</a> origin, and terminate this
@@ -1081,7 +1081,7 @@
<li>
<p>Return the result of subtracting the y-coordinate of the top
<a href="#padding-edge">padding edge</a> of the first CSS layout box associated with
- the <code><a href="#dom-htmlelement-offsetparent">offsetParent</a></code> of the element from the y-coordinate of
+ the <code title="dom-HTMLElement-offsetParent"><a href="#dom-htmlelement-offsetparent">offsetParent</a></code> of the element from the y-coordinate of
the top <a href="#border-edge">border edge</a> of the first CSS layout box associated
with the element, relative to the <a href="#initial-containing-block">initial containing block</a>
origin.</p>
@@ -1091,16 +1091,15 @@
</li>
</ol>
- <p>The <dfn id="dom-htmlelement-offsetleft"><code>offsetLeft</code></dfn>
- attribute must return the result of running these
- steps:</p>
+ <p>The <dfn id="dom-htmlelement-offsetleft" title="dom-HTMLElement-offsetLeft"><code>offsetLeft</code></dfn>
+ 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 CSS layout box return zero
and terminate this algorithm.</li>
- <li><p>If the <code><a href="#dom-htmlelement-offsetparent">offsetParent</a></code> of the element is null return the
+ <li><p>If the <code title="dom-HTMLElement-offsetParent"><a href="#dom-htmlelement-offsetparent">offsetParent</a></code> of the element is null return the
x-coordinate of the left <a href="#border-edge">border edge</a> of the first
CSS layout box associated with the element, relative to the
<a href="#initial-containing-block">initial containing block</a> origin, and terminate this
@@ -1109,7 +1108,7 @@
<li>
<p>Return the result of subtracting the x-coordinate of the left
<a href="#padding-edge">padding edge</a> of the first CSS layout box associated with
- the <code><a href="#dom-htmlelement-offsetparent">offsetParent</a></code> of the element from the x-coordinate of
+ the <code title="dom-HTMLElement-offsetParent"><a href="#dom-htmlelement-offsetparent">offsetParent</a></code> of the element from the x-coordinate of
the left <a href="#border-edge">border edge</a> of the first CSS layout box associated
with the element, relative to the <a href="#initial-containing-block">initial containing block</a>
origin.</p>
@@ -1117,9 +1116,8 @@
</ol>
<p>The
- <dfn id="dom-htmlelement-offsetwidth"><code>offsetWidth</code></dfn>
- attribute must return the result of running these
- steps:</p>
+ <dfn id="dom-htmlelement-offsetwidth" title="dom-HTMLElement-offsetWidth"><code>offsetWidth</code></dfn>
+ attribute must return the result of running these steps:</p>
<ol>
<li><p>If the element does not have any associated CSS layout box return
@@ -1130,9 +1128,8 @@
</ol>
<p>The
- <dfn id="dom-htmlelement-offsetheight"><code>offsetHeight</code></dfn>
- attribute must return the result of running these
- steps:</p>
+ <dfn id="dom-htmlelement-offsetheight" title="dom-HTMLElement-offsetHeight"><code>offsetHeight</code></dfn>
+ attribute must return the result of running these steps:</p>
<ol>
<li><p>If the element does not have any associated CSS layout box return
@@ -1146,15 +1143,15 @@
<h2 id="extensions-to-the-range-interface"><span class="secno">8 </span>Extensions to the <code title="">Range</code> Interface</h2>
<pre class="idl">partial interface <a class="external" href="http://html5.org/specs/dom-range.html#range">Range</a> {
- <a href="#clientrectlist">ClientRectList</a> <a href="#dom-range-getclientrects" title="dom-range-getclientrects">getClientRects</a>();
- <a href="#clientrect">ClientRect</a> <a href="#dom-range-getboundingclientrect" title="dom-range-getboundingclientrect">getBoundingClientRect</a>();
+ <a href="#clientrectlist">ClientRectList</a> <a href="#dom-range-getclientrects" title="dom-Range-getClientRects">getClientRects</a>();
+ <a href="#clientrect">ClientRect</a> <a href="#dom-range-getboundingclientrect" title="dom-Range-getBoundingClientRect">getBoundingClientRect</a>();
};</pre>
<p>The objects the methods described below return must
be static.</p>
<p>The
- <dfn id="dom-range-getclientrects" title="dom-range-getclientrects"><code>getClientRects()</code></dfn>
+ <dfn id="dom-range-getclientrects" title="dom-Range-getClientRects"><code>getClientRects()</code></dfn>
method, when invoked, must return an empty
<code><a href="#clientrectlist">ClientRectList</a></code> object if the range is not in the document and
otherwise a <code><a href="#clientrectlist">ClientRectList</a></code> object containing a list of
@@ -1176,13 +1173,13 @@
</ul>
<p>The
- <dfn id="dom-range-getboundingclientrect" title="dom-range-getboundingclientrect"><code>getBoundingClientRect()</code></dfn>
+ <dfn id="dom-range-getboundingclientrect" title="dom-Range-getBoundingClientRect"><code>getBoundingClientRect()</code></dfn>
method, when invoked, must return the result of the
following algorithm:</p>
<ol>
<li><p>Let <var>list</var> be the result of invoking
- <code title="dom-range-getclientrects"><a href="#dom-range-getclientrects">getClientRects()</a></code> on the
+ <code title="dom-Range-getClientRects"><a href="#dom-range-getclientrects">getClientRects()</a></code> on the
same range this method was invoked on.</li>
<li><p>If <var>list</var> is empty return a
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/cssom-view/Overview.src.html,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- Overview.src.html 6 Jul 2011 13:27:56 -0000 1.105
+++ Overview.src.html 6 Jul 2011 13:33:48 -0000 1.106
@@ -977,11 +977,11 @@
<h2 id="extensions-to-the-htmlelement-interface">Extensions to the <code title>HTMLElement</code> Interface</h2>
<pre class="idl">partial interface <span data-anolis-spec=html>HTMLElement</span> {
- readonly attribute Element <span>offsetParent</span>;
- readonly attribute long <span>offsetTop</span>;
- readonly attribute long <span>offsetLeft</span>;
- readonly attribute long <span>offsetWidth</span>;
- readonly attribute long <span>offsetHeight</span>;
+ readonly attribute Element <span title=dom-HTMLElement-offsetParent>offsetParent</span>;
+ readonly attribute long <span title=dom-HTMLElement-offsetTop>offsetTop</span>;
+ readonly attribute long <span title=dom-HTMLElement-offsetLeft>offsetLeft</span>;
+ readonly attribute long <span title=dom-HTMLElement-offsetWidth>offsetWidth</span>;
+ readonly attribute long <span title=dom-HTMLElement-offsetHeight>offsetHeight</span>;
};</pre>
@@ -991,7 +991,7 @@
attributes</h3>
<p>The
- <dfn id="dom-htmlelement-offsetparent"><code>offsetParent</code></dfn>
+ <dfn title=dom-HTMLElement-offsetParent><code>offsetParent</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -1034,7 +1034,7 @@
<li><p>Return null.</p></li>
</ol>
- <p>The <dfn id="dom-htmlelement-offsettop"><code>offsetTop</code></dfn>
+ <p>The <dfn title=dom-HTMLElement-offsetTop><code>offsetTop</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -1043,7 +1043,7 @@
or does not have any associated CSS layout box return zero and terminate
this algorithm.</p></li>
- <li><p>If the <code>offsetParent</code> of the element is null return the
+ <li><p>If the <code title=dom-HTMLElement-offsetParent>offsetParent</code> of the element is null return the
y-coordinate of the top <span>border edge</span> of the first
CSS layout box associated with the element, relative to the
<span>initial containing block</span> origin, and terminate this
@@ -1052,7 +1052,7 @@
<li>
<p>Return the result of subtracting the y-coordinate of the top
<span>padding edge</span> of the first CSS layout box associated with
- the <code>offsetParent</code> of the element from the y-coordinate of
+ the <code title=dom-HTMLElement-offsetParent>offsetParent</code> of the element from the y-coordinate of
the top <span>border edge</span> of the first CSS layout box associated
with the element, relative to the <span>initial containing block</span>
origin.</p>
@@ -1062,16 +1062,15 @@
</li>
</ol>
- <p>The <dfn id="dom-htmlelement-offsetleft"><code>offsetLeft</code></dfn>
- attribute must return the result of running these
- steps:</p>
+ <p>The <dfn title=dom-HTMLElement-offsetLeft><code>offsetLeft</code></dfn>
+ attribute must return the result of running these steps:</p>
<ol>
<li><p>If the element is <span>the HTML <code>body</code>
element</span> or does not have any associated CSS layout box return zero
and terminate this algorithm.</p></li>
- <li><p>If the <code>offsetParent</code> of the element is null return the
+ <li><p>If the <code title=dom-HTMLElement-offsetParent>offsetParent</code> of the element is null return the
x-coordinate of the left <span>border edge</span> of the first
CSS layout box associated with the element, relative to the
<span>initial containing block</span> origin, and terminate this
@@ -1080,7 +1079,7 @@
<li>
<p>Return the result of subtracting the x-coordinate of the left
<span>padding edge</span> of the first CSS layout box associated with
- the <code>offsetParent</code> of the element from the x-coordinate of
+ the <code title=dom-HTMLElement-offsetParent>offsetParent</code> of the element from the x-coordinate of
the left <span>border edge</span> of the first CSS layout box associated
with the element, relative to the <span>initial containing block</span>
origin.</p>
@@ -1088,9 +1087,8 @@
</ol>
<p>The
- <dfn id="dom-htmlelement-offsetwidth"><code>offsetWidth</code></dfn>
- attribute must return the result of running these
- steps:</p>
+ <dfn title=dom-HTMLElement-offsetWidth><code>offsetWidth</code></dfn>
+ attribute must return the result of running these steps:</p>
<ol>
<li><p>If the element does not have any associated CSS layout box return
@@ -1101,9 +1099,8 @@
</ol>
<p>The
- <dfn id="dom-htmlelement-offsetheight"><code>offsetHeight</code></dfn>
- attribute must return the result of running these
- steps:</p>
+ <dfn title=dom-HTMLElement-offsetHeight><code>offsetHeight</code></dfn>
+ attribute must return the result of running these steps:</p>
<ol>
<li><p>If the element does not have any associated CSS layout box return
@@ -1117,15 +1114,15 @@
<h2 id="extensions-to-the-range-interface">Extensions to the <code title>Range</code> Interface</h2>
<pre class="idl">partial interface <span data-anolis-spec=domrange>Range</span> {
- <span>ClientRectList</span> <span title="dom-range-getclientrects">getClientRects</span>();
- <span>ClientRect</span> <span title="dom-range-getboundingclientrect">getBoundingClientRect</span>();
+ <span>ClientRectList</span> <span title="dom-Range-getClientRects">getClientRects</span>();
+ <span>ClientRect</span> <span title="dom-Range-getBoundingClientRect">getBoundingClientRect</span>();
};</pre>
<p>The objects the methods described below return must
be static.</p>
<p>The
- <dfn id="dom-range-getclientrects" title="dom-range-getclientrects"><code>getClientRects()</code></dfn>
+ <dfn title=dom-Range-getClientRects><code>getClientRects()</code></dfn>
method, when invoked, must return an empty
<code>ClientRectList</code> object if the range is not in the document and
otherwise a <code>ClientRectList</code> object containing a list of
@@ -1147,21 +1144,21 @@
</ul>
<p>The
- <dfn id="dom-range-getboundingclientrect" title="dom-range-getboundingclientrect"><code>getBoundingClientRect()</code></dfn>
+ <dfn title=dom-Range-getBoundingClientRect><code>getBoundingClientRect()</code></dfn>
method, when invoked, must return the result of the
following algorithm:</p>
<ol>
<li><p>Let <var>list</var> be the result of invoking
- <code title="dom-range-getclientrects">getClientRects()</code> on the
+ <code title=dom-Range-getClientRects>getClientRects()</code> on the
same range this method was invoked on.</p></li>
<li><p>If <var>list</var> is empty return a
<code>ClientRect</code> object whose
- <code title="dom-ClientRect-top">top</code>,
- <code title="dom-ClientRect-right">right</code>,
- <code title="dom-ClientRect-bottom">bottom</code> and
- <code title="dom-ClientRect-left">left</code> members are zero.</p></li>
+ <code title=dom-ClientRect-top>top</code>,
+ <code title=dom-ClientRect-right>right</code>,
+ <code title=dom-ClientRect-bottom>bottom</code> and
+ <code title=dom-ClientRect-left>left</code> members are zero.</p></li>
<li><p>Otherwise, return a <code>ClientRect</code> object describing the
smallest rectangle that includes the first rectangle in <var>list</var>
Received on Wednesday, 6 July 2011 13:33:52 UTC