- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jul 2011 13:57:41 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/cssom-view
In directory hutz:/tmp/cvs-serv5984
Modified Files:
Overview.html Overview.src.html
Log Message:
xref dom-Element-*
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/cssom-view/Overview.html,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- Overview.html 6 Jul 2011 13:33:48 -0000 1.105
+++ Overview.html 6 Jul 2011 13:57:39 -0000 1.106
@@ -621,34 +621,34 @@
<h2 id="extensions-to-the-element-interface"><span class="secno">6 </span>Extensions to the <code title="">Element</code> Interface</h2>
<pre class="idl">partial interface <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element">Element</a> {
- <a href="#clientrectlist">ClientRectList</a> <a href="#dom-element-getclientrects">getClientRects</a>();
- <a href="#clientrect">ClientRect</a> <a href="#dom-element-getboundingclientrect">getBoundingClientRect</a>();
+ <a href="#clientrectlist">ClientRectList</a> <a href="#dom-element-getclientrects" title="dom-Element-getClientRects">getClientRects</a>();
+ <a href="#clientrect">ClientRect</a> <a href="#dom-element-getboundingclientrect" title="dom-Element-getBoundingClientRect">getBoundingClientRect</a>();
// scrolling
void <a href="#dom-element-scrollintoview" title="dom-Element-scrollIntoView">scrollIntoView</a>(optional boolean <var title="">top</var>);
- attribute long <a href="#dom-element-scrolltop">scrollTop</a>; // scroll on setting
- attribute long <a href="#dom-element-scrollleft">scrollLeft</a>; // scroll on setting
- readonly attribute long <a href="#dom-element-scrollwidth">scrollWidth</a>;
- readonly attribute long <a href="#dom-element-scrollheight">scrollHeight</a>;
+ attribute long <a href="#dom-element-scrolltop" title="dom-Element-scrollTop">scrollTop</a>; // scroll on setting
+ attribute long <a href="#dom-element-scrollleft" title="dom-Element-scrollLeft">scrollLeft</a>; // scroll on setting
+ readonly attribute long <a href="#dom-element-scrollwidth" title="dom-Element-scrollWidth">scrollWidth</a>;
+ readonly attribute long <a href="#dom-element-scrollheight" title="dom-Element-scrollHeight">scrollHeight</a>;
- readonly attribute long <a href="#dom-element-clienttop">clientTop</a>;
- readonly attribute long <a href="#dom-element-clientleft">clientLeft</a>;
- readonly attribute long <a href="#dom-element-clientwidth">clientWidth</a>;
- readonly attribute long <a href="#dom-element-clientheight">clientHeight</a>;
+ readonly attribute long <a href="#dom-element-clienttop" title="dom-Element-clientTop">clientTop</a>;
+ readonly attribute long <a href="#dom-element-clientleft" title="dom-Element-clientLeft">clientLeft</a>;
+ readonly attribute long <a href="#dom-element-clientwidth" title="dom-Element-clientWidth">clientWidth</a>;
+ readonly attribute long <a href="#dom-element-clientheight" title="dom-Element-clientHeight">clientHeight</a>;
};</pre>
<h3 id="the-getclientrects-and-getboundingclientrect-methods"><span class="secno">6.1 </span>The <code title="">getClientRects()</code> and
<code title="">getBoundingClientRect()</code> methods</h3>
- <p>The <code><a href="#dom-element-getclientrects">getClientRects()</a></code> and <code><a href="#dom-element-getboundingclientrect">getBoundingClientRect()</a></code>
+ <p>The <code title="dom-Element-getClientRects"><a href="#dom-element-getclientrects">getClientRects()</a></code> and <code title="dom-Element-getBoundingClientRect"><a href="#dom-element-getboundingclientrect">getBoundingClientRect()</a></code>
methods provide information about the position of the border box edges of
an element relative to the viewport. The objects these methods return
must be static. That is, changes to the underlying
document are not reflected in the objects.</p>
<p>The
- <dfn id="dom-element-getclientrects"><code>getClientRects()</code></dfn>
+ <dfn id="dom-element-getclientrects" title="dom-Element-getClientRects"><code>getClientRects()</code></dfn>
method, when invoked, must return the result of the
following algorithm:</p>
@@ -688,14 +688,14 @@
</ol>
<p>The
- <dfn id="dom-element-getboundingclientrect"><code>getBoundingClientRect()</code></dfn>
+ <dfn id="dom-element-getboundingclientrect" title="dom-Element-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><a href="#dom-element-getclientrects">getClientRects()</a></code> on the same element this method was invoked
- on.</li>
+ <code title="dom-Element-getClientRects"><a href="#dom-element-getclientrects">getClientRects()</a></code> on the
+ same element this method was invoked on.</li>
<li><p>If the <var>list</var> is empty return a <code><a href="#clientrect">ClientRect</a></code>
object whose <code title="dom-ClientRect-top"><a href="#dom-clientrect-top">top</a></code>,
@@ -810,7 +810,7 @@
<p>The
- <dfn id="dom-element-scrollintoview" title="dom-Element-scrollIntoView"><code>scrollIntoView([<var title="">top</var>])</code></dfn>
+ <dfn id="dom-element-scrollintoview" title="dom-Element-scrollIntoView"><code>scrollIntoView([<var>top</var>])</code></dfn>
method must run these steps:</p>
<ol>
@@ -823,7 +823,7 @@
</ol>
- <p>The <dfn id="dom-element-scrolltop"><code>scrollTop</code></dfn>
+ <p>The <dfn id="dom-element-scrolltop" title="dom-Element-scrollTop"><code>scrollTop</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -845,8 +845,8 @@
element.</li>
</ol>
- <p>When setting the <code><a href="#dom-element-scrolltop">scrollTop</a></code> attribute these steps
- must be run:</p>
+ <p>When setting the <code title="dom-Element-scrollTop"><a href="#dom-element-scrolltop">scrollTop</a></code>
+ attribute these steps must be run:</p>
<ol>
<li><p>Let <var title="">y</var> be the given value.</li>
@@ -868,10 +868,10 @@
argument and <var title="">y</var> as second.</li>
<li><p><a href="#scroll-an-element" title="scroll an element">Scroll the element</a> to
- <code><a href="#dom-element-scrollleft">scrollLeft</a></code>,<var title="">y</var>.</li>
+ <code title="dom-Element-scrollLeft"><a href="#dom-element-scrollleft">scrollLeft</a></code>,<var title="">y</var>.
</ol>
- <p>The <dfn id="dom-element-scrollleft"><code>scrollLeft</code></dfn>
+ <p>The <dfn id="dom-element-scrollleft" title="dom-Element-scrollLeft"><code>scrollLeft</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -893,7 +893,7 @@
element.</li>
</ol>
- <p>When setting the <code><a href="#dom-element-scrollleft">scrollLeft</a></code> attribute these steps
+ <p>When setting the <code title="dom-Element-scrollLeft"><a href="#dom-element-scrollleft">scrollLeft</a></code> attribute these steps
must be run:</p>
<ol>
@@ -916,10 +916,10 @@
<code title="dom-Window-scrollY"><a href="#dom-window-scrolly">scrollY</a></code> as second.</li>
<li><p><a href="#scroll-an-element" title="Scroll an element">Scroll the element</a> to
- <var title="">x</var>,<code><a href="#dom-element-scrolltop">scrollTop</a></code>.</li>
+ <var title="">x</var>,<code title="dom-Element-scrollTop"><a href="#dom-element-scrolltop">scrollTop</a></code>.
</ol>
- <p>The <dfn id="dom-element-scrollwidth"><code>scrollWidth</code></dfn>
+ <p>The <dfn id="dom-element-scrollwidth" title="dom-Element-scrollWidth"><code>scrollWidth</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -940,7 +940,7 @@
plus the <a href="#content">content</a> width of the element.</li>
</ol>
- <p>The <dfn id="dom-element-scrollheight"><code>scrollHeight</code></dfn>
+ <p>The <dfn id="dom-element-scrollheight" title="dom-Element-scrollHeight"><code>scrollHeight</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -968,33 +968,33 @@
<code title="">clientLeft</code>, <code title="">clientWidth</code>, and
<code title="">clientHeight</code> attributes</h3>
- <p>The <dfn id="dom-element-clienttop"><code>clientTop</code></dfn>,
- <dfn id="dom-element-clientleft"><code>clientLeft</code></dfn>,
- <dfn id="dom-element-clientwidth"><code>clientWidth</code></dfn>, and
- <dfn id="dom-element-clientheight"><code>clientHeight</code></dfn>
+ <p>The <dfn id="dom-element-clienttop" title="dom-Element-clientTop"><code>clientTop</code></dfn>,
+ <dfn id="dom-element-clientleft" title="dom-Element-clientLeft"><code>clientLeft</code></dfn>,
+ <dfn id="dom-element-clientwidth" title="dom-Element-clientWidth"><code>clientWidth</code></dfn>, and
+ <dfn id="dom-element-clientheight" title="dom-Element-clientHeight"><code>clientHeight</code></dfn>
attributes must return zero if the element does not
have any associated CSS layout box or if the CSS layout box is inline.
Otherwise, these attributes must behave as defined in
the remainder of this section.</p>
- <p>The <code><a href="#dom-element-clienttop">clientTop</a></code> attribute returns the computed value of the
+ <p>The <code title="dom-Element-clientTop"><a href="#dom-element-clienttop">clientTop</a></code> attribute returns the computed value of the
'<code>border-top-width</code>' property plus the width of any scrollbar
rendered between the top <a href="#padding-edge">padding edge</a> and the top
<a href="#border-edge">border edge</a>.</p>
- <p>The <code><a href="#dom-element-clientleft">clientLeft</a></code> attribute returns the computed
+ <p>The <code title="dom-Element-clientLeft"><a href="#dom-element-clientleft">clientLeft</a></code> attribute returns the computed
value of the '<code>border-left-width</code>' property plus the width of
any scrollbar rendered between the left <a href="#padding-edge">padding edge</a> and the
left <a href="#border-edge">border edge</a>.
- <p>The <code><a href="#dom-element-clientwidth">clientWidth</a></code> attribute returns the
+ <p>The <code title="dom-Element-clientWidth"><a href="#dom-element-clientwidth">clientWidth</a></code> attribute returns the
<a href="#viewport">viewport</a> width excluding the size of a rendered scroll bar
(if any) if the element is the root element and the
width of the <a href="#padding-edge">padding edge</a> (excluding the width of any
rendered scrollbar between the <a href="#padding-edge">padding edge</a> and the
<a href="#border-edge">border edge</a>) otherwise.</p>
- <p>The <code><a href="#dom-element-clientheight">clientHeight</a></code> attribute returns the
+ <p>The <code title="dom-Element-clientHeight"><a href="#dom-element-clientheight">clientHeight</a></code> attribute returns the
<a href="#viewport">viewport</a> height excluding the size of a rendered scroll bar
(if any) if the element is the root element and the
height of the <a href="#padding-edge">padding edge</a> (excluding the width of any
@@ -1161,7 +1161,8 @@
<ul>
<li>For each element selected by the range, whose parent is not selected
by the range, include the border boxes returned by invoking
- <code><a href="#dom-element-getclientrects">getClientRects()</a></code> on the element.</li>
+ <code title="dom-Element-getClientRects"><a href="#dom-element-getclientrects">getClientRects()</a></code> on the
+ element.</li>
<li>For each <code>Text</code> node selected or partially selected by the
range (including when the boundary-points are identical), include a
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/cssom-view/Overview.src.html,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- Overview.src.html 6 Jul 2011 13:33:48 -0000 1.106
+++ Overview.src.html 6 Jul 2011 13:57:39 -0000 1.107
@@ -592,34 +592,34 @@
<h2 id="extensions-to-the-element-interface">Extensions to the <code title>Element</code> Interface</h2>
<pre class="idl">partial interface <span data-anolis-spec=domcore>Element</span> {
- <span>ClientRectList</span> <span>getClientRects</span>();
- <span>ClientRect</span> <span>getBoundingClientRect</span>();
+ <span>ClientRectList</span> <span title=dom-Element-getClientRects>getClientRects</span>();
+ <span>ClientRect</span> <span title=dom-Element-getBoundingClientRect>getBoundingClientRect</span>();
// scrolling
- void <span title="dom-Element-scrollIntoView">scrollIntoView</span>(optional boolean <var title>top</var>);
- attribute long <span>scrollTop</span>; // scroll on setting
- attribute long <span>scrollLeft</span>; // scroll on setting
- readonly attribute long <span>scrollWidth</span>;
- readonly attribute long <span>scrollHeight</span>;
+ void <span title=dom-Element-scrollIntoView>scrollIntoView</span>(optional boolean <var title>top</var>);
+ attribute long <span title=dom-Element-scrollTop>scrollTop</span>; // scroll on setting
+ attribute long <span title=dom-Element-scrollLeft>scrollLeft</span>; // scroll on setting
+ readonly attribute long <span title=dom-Element-scrollWidth>scrollWidth</span>;
+ readonly attribute long <span title=dom-Element-scrollHeight>scrollHeight</span>;
- readonly attribute long <span>clientTop</span>;
- readonly attribute long <span>clientLeft</span>;
- readonly attribute long <span>clientWidth</span>;
- readonly attribute long <span>clientHeight</span>;
+ readonly attribute long <span title=dom-Element-clientTop>clientTop</span>;
+ readonly attribute long <span title=dom-Element-clientLeft>clientLeft</span>;
+ readonly attribute long <span title=dom-Element-clientWidth>clientWidth</span>;
+ readonly attribute long <span title=dom-Element-clientHeight>clientHeight</span>;
};</pre>
<h3>The <code title>getClientRects()</code> and
<code title>getBoundingClientRect()</code> methods</h3>
- <p>The <code>getClientRects()</code> and <code>getBoundingClientRect()</code>
+ <p>The <code title=dom-Element-getClientRects>getClientRects()</code> and <code title=dom-Element-getBoundingClientRect>getBoundingClientRect()</code>
methods provide information about the position of the border box edges of
an element relative to the viewport. The objects these methods return
must be static. That is, changes to the underlying
document are not reflected in the objects.</p>
<p>The
- <dfn id="dom-element-getclientrects"><code>getClientRects()</code></dfn>
+ <dfn title=dom-Element-getClientRects><code>getClientRects()</code></dfn>
method, when invoked, must return the result of the
following algorithm:</p>
@@ -659,20 +659,20 @@
</ol>
<p>The
- <dfn id="dom-element-getboundingclientrect"><code>getBoundingClientRect()</code></dfn>
+ <dfn title=dom-Element-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>getClientRects()</code> on the same element this method was invoked
- on.</p></li>
+ <code title=dom-Element-getClientRects>getClientRects()</code> on the
+ same element this method was invoked on.</p></li>
<li><p>If the <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>
+ 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>
<li><p>Otherwise, return a <code>ClientRect</code> object describing the
smallest rectangle that includes the first rectangle in <var>list</var>
@@ -781,7 +781,7 @@
<p>The
- <dfn id="dom-element-scrollintoview" title="dom-Element-scrollIntoView"><code>scrollIntoView([<var title>top</var>])</code></dfn>
+ <dfn title=dom-Element-scrollIntoView><code>scrollIntoView([<var>top</var>])</code></dfn>
method must run these steps:</p>
<ol>
@@ -794,7 +794,7 @@
</ol>
- <p>The <dfn id="dom-element-scrolltop"><code>scrollTop</code></dfn>
+ <p>The <dfn title=dom-Element-scrollTop><code>scrollTop</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -809,15 +809,15 @@
<li><p>If the element is <span>the HTML <code>body</code> element</span>,
the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, and the element
does not have any overflow, return the value of
- <code title="dom-Window-scrollY">scrollY</code>.</p></li>
+ <code title=dom-Window-scrollY>scrollY</code>.</p></li>
<li><p>Return the y-coordinate of the <span>content</span> at the
alignment point with the top of the <span>content edge</span> of the
element.</p></li>
</ol>
- <p>When setting the <code>scrollTop</code> attribute these steps
- must be run:</p>
+ <p>When setting the <code title=dom-Element-scrollTop>scrollTop</code>
+ attribute these steps must be run:</p>
<ol>
<li><p>Let <var title>y</var> be the given value.</p></li>
@@ -828,21 +828,21 @@
steps.</p></li>
<li><p>If the element is the root element invoke
- <code title="dom-Window-scroll">scroll()</code> with zero as first
+ <code title=dom-Window-scroll>scroll()</code> with zero as first
argument and <var title>y</var> as second.</p></li>
<li><p>If the element is <span>the HTML <code>body</code> element</span>,
the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, and the element
does not have any vertical overflow, invoke
- <code title="dom-Window-scroll">scroll()</code> with
- <code title="dom-Window-scrollX">scrollX</code> as first
+ <code title=dom-Window-scroll>scroll()</code> with
+ <code title=dom-Window-scrollX>scrollX</code> as first
argument and <var title>y</var> as second.</p></li>
<li><p><span title="scroll an element">Scroll the element</span> to
- <code>scrollLeft</code>,<var title>y</var>.</p></li>
+ <code title=dom-Element-scrollLeft>scrollLeft</code>,<var title>y</var>.
</ol>
- <p>The <dfn id="dom-element-scrollleft"><code>scrollLeft</code></dfn>
+ <p>The <dfn title=dom-Element-scrollLeft><code>scrollLeft</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -852,19 +852,19 @@
<span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return zero and terminate these steps.</p></li>
<li><p>If the element is the root element return the value of
- <code title="dom-Window-scrollX">scrollX</code>.</p></li>
+ <code title=dom-Window-scrollX>scrollX</code>.</p></li>
<li><p>If the element is <span>the HTML <code>body</code> element</span>,
the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, and the element
does not have any overflow, return the value of
- <code title="dom-Window-scrollX">scrollX</code>.</p></li>
+ <code title=dom-Window-scrollX>scrollX</code>.</p></li>
<li><p>Return the x-coordinate of the <span>content</span> at the
alignment point with the left of the <span>content edge</span> of the
element.</p></li>
</ol>
- <p>When setting the <code>scrollLeft</code> attribute these steps
+ <p>When setting the <code title=dom-Element-scrollLeft>scrollLeft</code> attribute these steps
must be run:</p>
<ol>
@@ -876,7 +876,7 @@
steps.</p></li>
<li><p>If the element is the root element invoke
- <code title="dom-Window-scroll">scroll()</code> with
+ <code title=dom-Window-scroll>scroll()</code> with
<var title>x</var> as first argument and zero as second.</p></li>
<li><p>If the element is <span>the HTML <code>body</code> element</span>,
@@ -884,13 +884,13 @@
does not have any vertical overflow, invoke
<code title="dom-Window-scroll">scroll()</code> with
<var title>x</var> as first argument and
- <code title="dom-Window-scrollY">scrollY</code> as second.</p></li>
+ <code title=dom-Window-scrollY>scrollY</code> as second.</p></li>
<li><p><span title="Scroll an element">Scroll the element</span> to
- <var title>x</var>,<code>scrollTop</code>.</p></li>
+ <var title>x</var>,<code title=dom-Element-scrollTop>scrollTop</code>.
</ol>
- <p>The <dfn id="dom-element-scrollwidth"><code>scrollWidth</code></dfn>
+ <p>The <dfn title=dom-Element-scrollWidth><code>scrollWidth</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -911,7 +911,7 @@
plus the <span>content</span> width of the element.</p></li>
</ol>
- <p>The <dfn id="dom-element-scrollheight"><code>scrollHeight</code></dfn>
+ <p>The <dfn title=dom-Element-scrollHeight><code>scrollHeight</code></dfn>
attribute must return the result of running these
steps:</p>
@@ -939,33 +939,33 @@
<code title>clientLeft</code>, <code title>clientWidth</code>, and
<code title>clientHeight</code> attributes</h3>
- <p>The <dfn id="dom-element-clienttop"><code>clientTop</code></dfn>,
- <dfn id="dom-element-clientleft"><code>clientLeft</code></dfn>,
- <dfn id="dom-element-clientwidth"><code>clientWidth</code></dfn>, and
- <dfn id="dom-element-clientheight"><code>clientHeight</code></dfn>
+ <p>The <dfn title=dom-Element-clientTop><code>clientTop</code></dfn>,
+ <dfn title=dom-Element-clientLeft><code>clientLeft</code></dfn>,
+ <dfn title=dom-Element-clientWidth><code>clientWidth</code></dfn>, and
+ <dfn title=dom-Element-clientHeight><code>clientHeight</code></dfn>
attributes must return zero if the element does not
have any associated CSS layout box or if the CSS layout box is inline.
Otherwise, these attributes must behave as defined in
the remainder of this section.</p>
- <p>The <code>clientTop</code> attribute returns the computed value of the
+ <p>The <code title=dom-Element-clientTop>clientTop</code> attribute returns the computed value of the
'<code>border-top-width</code>' property plus the width of any scrollbar
rendered between the top <span>padding edge</span> and the top
<span>border edge</span>.</p>
- <p>The <code>clientLeft</code> attribute returns the computed
+ <p>The <code title=dom-Element-clientLeft>clientLeft</code> attribute returns the computed
value of the '<code>border-left-width</code>' property plus the width of
any scrollbar rendered between the left <span>padding edge</span> and the
left <span>border edge</span>.
- <p>The <code>clientWidth</code> attribute returns the
+ <p>The <code title=dom-Element-clientWidth>clientWidth</code> attribute returns the
<span>viewport</span> width excluding the size of a rendered scroll bar
(if any) if the element is the root element and the
width of the <span>padding edge</span> (excluding the width of any
rendered scrollbar between the <span>padding edge</span> and the
<span>border edge</span>) otherwise.</p>
- <p>The <code>clientHeight</code> attribute returns the
+ <p>The <code title=dom-Element-clientHeight>clientHeight</code> attribute returns the
<span>viewport</span> height excluding the size of a rendered scroll bar
(if any) if the element is the root element and the
height of the <span>padding edge</span> (excluding the width of any
@@ -1132,7 +1132,8 @@
<ul>
<li>For each element selected by the range, whose parent is not selected
by the range, include the border boxes returned by invoking
- <code>getClientRects()</code> on the element.</li>
+ <code title=dom-Element-getClientRects>getClientRects()</code> on the
+ element.</li>
<li>For each <code>Text</code> node selected or partially selected by the
range (including when the boundary-points are identical), include a
Received on Wednesday, 6 July 2011 13:57:43 UTC