- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jul 2011 14:03:41 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/cssom-view
In directory hutz:/tmp/cvs-serv7426
Modified Files:
Overview.html Overview.src.html
Log Message:
dom-Document xref cleanup
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/cssom-view/Overview.html,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- Overview.html 6 Jul 2011 13:57:39 -0000 1.106
+++ Overview.html 6 Jul 2011 14:03:39 -0000 1.107
@@ -507,28 +507,25 @@
<h2 id="extensions-to-the-document-interface"><span class="secno">5 </span>Extensions to the <code title="">Document</code> Interface</h2>
<pre class="idl">partial interface <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a> {
- <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element">Element</a>? <a href="#dom-document-elementfrompoint">elementFromPoint</a>(float <var title="">x</var>, float <var title="">y</var>);
- <a href="#caretposition">CaretPosition</a>? <a href="#dom-document-caretpositionfrompoint">caretPositionFromPoint</a>(float <var title="">x</var>, float <var title="">y</var>);
+ <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element">Element</a>? <a href="#dom-document-elementfrompoint" title="dom-Document-elementFromPoint">elementFromPoint</a>(float <var title="">x</var>, float <var title="">y</var>);
+ <a href="#caretposition">CaretPosition</a>? <a href="#dom-document-caretpositionfrompoint" title="dom-Document-caretPositionFromPoint">caretPositionFromPoint</a>(float <var title="">x</var>, float <var title="">y</var>);
};</pre>
<p>The
- <dfn id="dom-document-elementfrompoint" title="elementfrompoint"><code>elementFromPoint(<var title="">x</var>,
- <var title="">y</var>)</code></dfn> method, when invoked,
- must return the element at coordinates
- <var>x</var>,<var>y</var> in the <a href="#viewport">viewport</a>. The element to be
- returned is determined through hit testing. If either argument is
- negative, <var title="">x</var> is greater than the <a href="#viewport">viewport</a>
- width excluding the size of a rendered scroll bar (if any), or
- <var title="">y</var> is greather than the <a href="#viewport">viewport</a> height
- excluding the size of a rendered scroll bar (if any), the method
- must return <code>null</code>. If there is no element
- at the given position the method must return the root
- element, if any, or <code>null</code> otherwise.</p>
+ <dfn id="dom-document-elementfrompoint" title="dom-Document-elementFromPoint"><code>elementFromPoint(<var>x</var>, <var>y</var>)</code></dfn>
+ method must return the element at coordinates <var>x</var>,<var>y</var> in
+ the <a href="#viewport">viewport</a>. The element to be returned is determined
+ through hit testing. If either argument is negative, <var title="">x</var> is
+ greater than the <a href="#viewport">viewport</a> width excluding the size of a
+ rendered scroll bar (if any), or <var title="">y</var> is greather than the
+ <a href="#viewport">viewport</a> height excluding the size of a rendered scroll bar
+ (if any), the method must return null. If there is no element at the given
+ position the method must return the root element, if any, or null
+ otherwise.</p>
<p>The
- <dfn id="dom-document-caretpositionfrompoint" title="caretpositionfrompoint"><code>caretPositionFromPoint(<var title="">x</var>,
- <var title="">y</var>)</code></dfn> method, when invoked,
- must return the result of running these steps:</p>
+ <dfn id="dom-document-caretpositionfrompoint" title="dom-Document-caretPositionFromPoint"><code>caretPositionFromPoint(<var>x</var>, <var>y</var>)</code></dfn>
+ method must return the result of running these steps:</p>
<ol>
<li><p>If either argument is negative, <var title="">x</var> is greater
@@ -570,11 +567,11 @@
<dl>
<dt><a href="#caret-node">caret node</a></dt>
- <dd><p>The <code title="dom-Range-startContainer">startContainer</code>
+ <dd><p>The <code class="external" title="dom-Range-startContainer"><a href="http://html5.org/specs/dom-range.html#dom-range-startcontainer">startContainer</a></code>
of the <a href="#caret-range">caret range</a>.</dd>
<dt><a href="#caret-offset">caret offset</a></dt>
- <dd><p>The <code title="dom-Range-startOffset">startOffset</code> of
+ <dd><p>The <code class="external" title="dom-Range-startOffset"><a href="http://html5.org/specs/dom-range.html#dom-range-startoffset">startOffset</a></code> of
the <a href="#caret-range">caret range</a>.</p>
</dl>
</li>
@@ -582,7 +579,8 @@
<p class="note">The specifics of hit testing are out of scope of this
specification and therefore the exact details of
- <code><a href="#dom-document-elementfrompoint">elementFromPoint()</a></code> and <code><a href="#dom-document-caretpositionfrompoint">caretPositionFromPoint()</a></code>
+ <code title="dom-Document-elementFromPoint"><a href="#dom-document-elementfrompoint">elementFromPoint()</a></code> and
+ <code title="dom-Document-caretPositionFromPoint"><a href="#dom-document-caretpositionfrompoint">caretPositionFromPoint()</a></code>
are therefore too. Hit testing will hopefully be defined in a future
revision of CSS or HTML.</p>
@@ -597,7 +595,7 @@
object.</p>
<pre class="idl">interface <dfn id="caretposition">CaretPosition</dfn> {
- readonly attribute <span>Node</span> <a href="#dom-caretposition-offsetnode" title="dom-CaretPosition-offsetNode">offsetNode</a>;
+ readonly attribute <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node">Node</a> <a href="#dom-caretposition-offsetnode" title="dom-CaretPosition-offsetNode">offsetNode</a>;
readonly attribute unsigned long <a href="#dom-caretposition-offset" title="dom-CaretPosition-offset">offset</a>;<!--
readonly attribute <span data-anolis-spec=domrange>Range</span>? <span title="dom-CaretPosition-range">range</span>;-->
};</pre>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/cssom-view/Overview.src.html,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- Overview.src.html 6 Jul 2011 13:57:39 -0000 1.107
+++ Overview.src.html 6 Jul 2011 14:03:39 -0000 1.108
@@ -478,28 +478,25 @@
<h2 id="extensions-to-the-document-interface">Extensions to the <code title>Document</code> Interface</h2>
<pre class="idl">partial interface <span data-anolis-spec=domcore>Document</span> {
- <span data-anolis-spec=domcore>Element</span>? <span>elementFromPoint</span>(float <var title>x</var>, float <var title>y</var>);
- <span>CaretPosition</span>? <span>caretPositionFromPoint</span>(float <var title>x</var>, float <var title>y</var>);
+ <span data-anolis-spec=domcore>Element</span>? <span title=dom-Document-elementFromPoint>elementFromPoint</span>(float <var title>x</var>, float <var title>y</var>);
+ <span>CaretPosition</span>? <span title=dom-Document-caretPositionFromPoint>caretPositionFromPoint</span>(float <var title>x</var>, float <var title>y</var>);
};</pre>
<p>The
- <dfn id="dom-document-elementfrompoint" title="elementfrompoint"><code>elementFromPoint(<var title>x</var>,
- <var title>y</var>)</code></dfn> method, when invoked,
- must return the element at coordinates
- <var>x</var>,<var>y</var> in the <span>viewport</span>. The element to be
- returned is determined through hit testing. If either argument is
- negative, <var title>x</var> is greater than the <span>viewport</span>
- width excluding the size of a rendered scroll bar (if any), or
- <var title>y</var> is greather than the <span>viewport</span> height
- excluding the size of a rendered scroll bar (if any), the method
- must return <code>null</code>. If there is no element
- at the given position the method must return the root
- element, if any, or <code>null</code> otherwise.</p>
+ <dfn title=dom-Document-elementFromPoint><code>elementFromPoint(<var>x</var>, <var>y</var>)</code></dfn>
+ method must return the element at coordinates <var>x</var>,<var>y</var> in
+ the <span>viewport</span>. The element to be returned is determined
+ through hit testing. If either argument is negative, <var title>x</var> is
+ greater than the <span>viewport</span> width excluding the size of a
+ rendered scroll bar (if any), or <var title>y</var> is greather than the
+ <span>viewport</span> height excluding the size of a rendered scroll bar
+ (if any), the method must return null. If there is no element at the given
+ position the method must return the root element, if any, or null
+ otherwise.</p>
<p>The
- <dfn id="dom-document-caretpositionfrompoint" title="caretpositionfrompoint"><code>caretPositionFromPoint(<var title>x</var>,
- <var title>y</var>)</code></dfn> method, when invoked,
- must return the result of running these steps:</p>
+ <dfn title=dom-Document-caretPositionFromPoint><code>caretPositionFromPoint(<var>x</var>, <var>y</var>)</code></dfn>
+ method must return the result of running these steps:</p>
<ol>
<li><p>If either argument is negative, <var title>x</var> is greater
@@ -541,11 +538,11 @@
<dl>
<dt><span>caret node</span></dt>
- <dd><p>The <code title="dom-Range-startContainer">startContainer</code>
+ <dd><p>The <code data-anolis-spec=domrange title=dom-Range-startContainer>startContainer</code>
of the <span>caret range</span>.</p></dd>
<dt><span>caret offset</span></dt>
- <dd><p>The <code title="dom-Range-startOffset">startOffset</code> of
+ <dd><p>The <code data-anolis-spec=domrange title=dom-Range-startOffset>startOffset</code> of
the <span>caret range</span>.</p>
</dl>
</li>
@@ -553,13 +550,14 @@
<p class="note">The specifics of hit testing are out of scope of this
specification and therefore the exact details of
- <code>elementFromPoint()</code> and <code>caretPositionFromPoint()</code>
+ <code title=dom-Document-elementFromPoint>elementFromPoint()</code> and
+ <code title=dom-Document-caretPositionFromPoint>caretPositionFromPoint()</code>
are therefore too. Hit testing will hopefully be defined in a future
revision of CSS or HTML.</p>
- <h3 id="the-caretposition-interface">The <code title>CaretPosition</code> Interface</h3>
+ <h3 id=the-caretposition-interface>The <code title>CaretPosition</code> Interface</h3>
<p>A <dfn>caret position</dfn> gives the position of a
text insertion point indicator. It always has an associated
@@ -568,17 +566,17 @@
object.</p>
<pre class="idl">interface <dfn id="caretposition">CaretPosition</dfn> {
- readonly attribute <span>Node</span> <span title="dom-CaretPosition-offsetNode">offsetNode</span>;
- readonly attribute unsigned long <span title="dom-CaretPosition-offset">offset</span>;<!--
+ readonly attribute <span data-anolis-spec=domcore>Node</span> <span title=dom-CaretPosition-offsetNode>offsetNode</span>;
+ readonly attribute unsigned long <span title=dom-CaretPosition-offset>offset</span>;<!--
readonly attribute <span data-anolis-spec=domrange>Range</span>? <span title="dom-CaretPosition-range">range</span>;-->
};</pre>
<p>The
- <dfn title="dom-CaretPosition-offsetNode"><code>offsetNode</code></dfn>
+ <dfn title=dom-CaretPosition-offsetNode><code>offsetNode</code></dfn>
attribute must return the <span>caret node</span>.</p>
<p>The
- <dfn title="dom-CaretPosition-offset"><code>offset</code></dfn>
+ <dfn title=dom-CaretPosition-offset><code>offset</code></dfn>
attribute must return the <span>caret offset</span>.</p>
<!--
Received on Wednesday, 6 July 2011 14:03:48 UTC