|
29 | 29 |
|
30 | 30 | <h1>CSSOM View Module</h1> |
31 | 31 |
|
32 | | - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 31 May 2013</h2> |
| 32 | + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 3 June 2013</h2> |
33 | 33 |
|
34 | 34 | <dl> |
35 | 35 |
|
@@ -88,7 +88,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2> |
88 | 88 | can be found in the <a href="http://www.w3.org/TR/">W3C technical reports |
89 | 89 | index at http://www.w3.org/TR/.</a></em> |
90 | 90 |
|
91 | | -<p>This is the 31 May 2013 Editor's Draft of CSSOM View. Please send |
| 91 | +<p>This is the 3 June 2013 Editor's Draft of CSSOM View. Please send |
92 | 92 | comments to |
93 | 93 | <a href="mailto:www-style@w3.org?subject=%5Bcssom-view%5D%20">www-style@w3.org</a> |
94 | 94 | (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) |
@@ -618,8 +618,8 @@ <h3 id="the-screen-interface"><span class="secno">5.2 </span>The <code title=""> |
618 | 618 | <h2 id="extensions-to-the-document-interface"><span class="secno">6 </span>Extensions to the <code title="">Document</code> Interface</h2> |
619 | 619 |
|
620 | 620 | <pre class="idl">partial interface <a class="external" href="http://dom.spec.whatwg.org/#document">Document</a> { |
621 | | - Element? elementFromPoint(double x, double y); |
622 | | - CaretPosition? caretPositionFromPoint(double x, double y); |
| 621 | + <a class="external" href="http://dom.spec.whatwg.org/#element">Element</a>? <a href="#dom-document-elementfrompoint" title="dom-Document-elementFromPoint">elementFromPoint</a>(double x, double y); |
| 622 | + <a href="#caretposition">CaretPosition</a>? <a href="#dom-document-caretpositionfrompoint" title="dom-Document-caretPositionFromPoint">caretPositionFromPoint</a>(double x, double y); |
623 | 623 | };</pre> |
624 | 624 |
|
625 | 625 | <p>The <dfn id="dom-document-elementfrompoint" title="dom-Document-elementFromPoint"><code>elementFromPoint(<var title="">x</var>, <var title="">y</var>)</code></dfn> method must return the element at |
@@ -686,9 +686,9 @@ <h3 id="the-caretposition-interface"><span class="secno">6.1 </span>The <code ti |
686 | 686 | <dfn id="caret-node">caret node</dfn>, <dfn id="caret-offset">caret offset</dfn>, and <dfn id="caret-range">caret range</dfn>. It is represented by a <code><a href="#caretposition">CaretPosition</a></code> object.</p> |
687 | 687 |
|
688 | 688 | <pre class="idl">interface <dfn id="caretposition">CaretPosition</dfn> { |
689 | | - readonly attribute Node offsetNode; |
690 | | - readonly attribute unsigned long offset; |
691 | | - ClientRect? getClientRect(); |
| 689 | + readonly attribute <a class="external" href="http://dom.spec.whatwg.org/#node">Node</a> <a href="#dom-caretposition-offsetnode" title="dom-CaretPosition-offsetNode">offsetNode</a>; |
| 690 | + readonly attribute unsigned long <a href="#dom-caretposition-offset" title="dom-CaretPosition-offset">offset</a>; |
| 691 | + <a href="#clientrect">ClientRect</a>? <a href="#dom-caretposition-getclientrect" title="dom-CaretPosition-getClientRect">getClientRect</a>(); |
692 | 692 | };</pre> |
693 | 693 |
|
694 | 694 | <p>The <dfn id="dom-caretposition-offsetnode" title="dom-CaretPosition-offsetNode"><code>offsetNode</code></dfn> attribute must return the <a href="#caret-node">caret node</a>.</p> |
@@ -1154,8 +1154,8 @@ <h2 id="extensions-to-the-range-interface"><span class="secno">9 </span>Extensio |
1154 | 1154 | be static.</p> |
1155 | 1155 |
|
1156 | 1156 | <pre class="idl">partial interface <a class="external" href="http://dom.spec.whatwg.org/#range">Range</a> { |
1157 | | - ClientRectList getClientRects(); |
1158 | | - ClientRect getBoundingClientRect(); |
| 1157 | + <a href="#clientrectlist">ClientRectList</a> <a href="#dom-range-getclientrects" title="dom-Range-getClientRects">getClientRects</a>(); |
| 1158 | + <a href="#clientrect">ClientRect</a> <a href="#dom-range-getboundingclientrect" title="dom-Range-getBoundingClientRect">getBoundingClientRect</a>(); |
1159 | 1159 | };</pre> |
1160 | 1160 |
|
1161 | 1161 | <p>The <dfn id="dom-range-getclientrects" title="dom-Range-getClientRects"><code>getClientRects()</code></dfn> method, when invoked, must return an empty |
|
0 commit comments