Skip to content

Commit 9067714

Browse files
author
Simon Pieters
committed
[cssom*] Editorial: add missing xrefs in IDL blocks
1 parent 4c5061c commit 9067714

5 files changed

Lines changed: 29 additions & 27 deletions

File tree

cssom-values/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<h1>CSSOM Values Module</h1>
3131

32-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 29 May 2013</h2>
32+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 3 June 2013</h2>
3333

3434
<dl>
3535

@@ -77,15 +77,15 @@ <h2 class="no-num no-toc" id="sotd">Status of this Document</h2>
7777
can be found in the
7878
<a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
7979

80-
<p>This is the 29 May 2013 Editor's Draft of CSSOM. Please send
80+
<p>This is the 3 June 2013 Editor's Draft of CSSOM. Please send
8181
comments to
8282
<a href="mailto:www-style@w3.org?subject=%5Bcssom-values%5D%20">www-style@w3.org</a>
8383
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
8484
with <samp>[cssom-values]</samp> at the start of the subject line.
8585

8686

8787
<!-- XXX include this text upon FPWD publishing
88-
<p>This is the 29 May 2013 First Public Working Draft of CSSOM, produced by the
88+
<p>This is the 3 June 2013 First Public Working Draft of CSSOM, produced by the
8989
<a href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> (part
9090
of the <a href="http://www.w3.org/Style/">Style Activity</a>).
9191
-->

cssom-view/Overview.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<h1>CSSOM View Module</h1>
3131

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>
3333

3434
<dl>
3535

@@ -88,7 +88,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
8888
can be found in the <a href="http://www.w3.org/TR/">W3C technical reports
8989
index at http://www.w3.org/TR/.</a></em>
9090

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
9292
comments to
9393
<a href="mailto:www-style@w3.org?subject=%5Bcssom-view%5D%20">www-style@w3.org</a>
9494
(<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="">
618618
<h2 id="extensions-to-the-document-interface"><span class="secno">6 </span>Extensions to the <code title="">Document</code> Interface</h2>
619619

620620
<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);
623623
};</pre>
624624

625625
<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
686686
<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>
687687

688688
<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>();
692692
};</pre>
693693

694694
<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
11541154
be static.</p>
11551155

11561156
<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>();
11591159
};</pre>
11601160

11611161
<p>The <dfn id="dom-range-getclientrects" title="dom-Range-getClientRects"><code>getClientRects()</code></dfn> method, when invoked, must return an empty

cssom-view/Overview.src.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -586,8 +586,8 @@ <h3>The <code title>Screen</code> Interface</h3>
586586
<h2>Extensions to the <code title>Document</code> Interface</h2>
587587

588588
<pre class=idl>partial interface <span data-anolis-spec=dom>Document</span> {
589-
Element? elementFromPoint(double x, double y);
590-
CaretPosition? caretPositionFromPoint(double x, double y);
589+
<span data-anolis-spec=dom>Element</span>? <span title=dom-Document-elementFromPoint>elementFromPoint</span>(double x, double y);
590+
<span>CaretPosition</span>? <span title=dom-Document-caretPositionFromPoint>caretPositionFromPoint</span>(double x, double y);
591591
};</pre>
592592

593593
<p>The <dfn title=dom-Document-elementFromPoint><code>elementFromPoint(<var title>x</var>, <var title>y</var>)</code></dfn> method must return the element at
@@ -654,9 +654,9 @@ <h3>The <code title>CaretPosition</code> Interface</h3>
654654
<dfn>caret node</dfn>, <dfn>caret offset</dfn>, and <dfn>caret range</dfn>. It is represented by a <code>CaretPosition</code> object.</p>
655655

656656
<pre class=idl>interface <dfn>CaretPosition</dfn> {
657-
readonly attribute Node offsetNode;
658-
readonly attribute unsigned long offset;
659-
ClientRect? getClientRect();
657+
readonly attribute <span data-anolis-spec=dom>Node</span> <span title=dom-CaretPosition-offsetNode>offsetNode</span>;
658+
readonly attribute unsigned long <span title=dom-CaretPosition-offset>offset</span>;
659+
<span>ClientRect</span>? <span title=dom-CaretPosition-getClientRect>getClientRect</span>();
660660
};</pre>
661661

662662
<p>The <dfn title=dom-CaretPosition-offsetNode><code>offsetNode</code></dfn> attribute must return the <span>caret node</span>.</p>
@@ -1120,8 +1120,8 @@ <h2>Extensions to the <code title>Range</code> Interface</h2>
11201120
be static.</p>
11211121

11221122
<pre class=idl>partial interface <span data-anolis-spec=dom>Range</span> {
1123-
ClientRectList getClientRects();
1124-
ClientRect getBoundingClientRect();
1123+
<span>ClientRectList</span> <span title=dom-Range-getClientRects>getClientRects</span>();
1124+
<span>ClientRect</span> <span title=dom-Range-getBoundingClientRect>getBoundingClientRect</span>();
11251125
};</pre>
11261126

11271127
<p>The <dfn title=dom-Range-getClientRects><code>getClientRects()</code></dfn> method, when invoked, must return an empty

cssom/Overview.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,8 +2029,8 @@ <h4 id="the-cssnamespacerule-interface"><span class="secno">6.4.9 </span>The <co
20292029
<p>The <code><a href="#cssnamespacerule">CSSNamespaceRule</a></code> interface represents an <code title="">@namespace</code> at-rule.</p>
20302030

20312031
<pre class="idl">interface <dfn id="cssnamespacerule">CSSNamespaceRule</dfn> : <a href="#cssrule">CSSRule</a> {
2032-
[TreatNullAs=EmptyString] attribute DOMString namespaceURI;
2033-
[TreatNullAs=EmptyString] attribute DOMString prefix;
2032+
[TreatNullAs=EmptyString] attribute DOMString <a href="#dom-cssnamespacerule-namespaceuri" title="dom-CSSNamespaceRule-namespaceURI">namespaceURI</a>;
2033+
[TreatNullAs=EmptyString] attribute DOMString <a href="#dom-cssnamespacerule-prefix" title="dom-CSSNamespaceRule-prefix">prefix</a>;
20342034
};</pre>
20352035

20362036
<p>The <dfn id="dom-cssnamespacerule-namespaceuri" title="dom-CSSNamespaceRule-namespaceURI"><code>namespaceURI</code></dfn> attribute, on getting, must return the namespace of the
@@ -2253,7 +2253,7 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
22532253
<p>If the user agent supports the 'float' CSS property, the following partial interface applies.</p>
22542254

22552255
<pre class="idl">partial interface <a href="#cssstyledeclaration">CSSStyleDeclaration</a> {
2256-
[TreatNullAs=EmptyString] attribute DOMString cssFloat;
2256+
[TreatNullAs=EmptyString] attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>;
22572257
};</pre>
22582258

22592259
<p>The <dfn id="dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat"><code>cssFloat</code></dfn>
@@ -2642,7 +2642,8 @@ <h3 id="the-elementcssinlinestyle-interface"><span class="secno">7.1 </span>The
26422642
<h3 id="extensions-to-the-window-interface"><span class="secno">7.2 </span>Extensions to the <code title="">Window</code> Interface</h3>
26432643

26442644
<pre class="idl">partial interface <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#window">Window</a> {
2645-
CSSStyleDeclaration getComputedStyle(Element elt, optional DOMString pseudoElt);
2645+
<a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-window-getcomputedstyle" title="dom-Window-getComputedStyle">getComputedStyle</a>(<a class="external" href="http://dom.spec.whatwg.org/#element">Element</a> elt, <!--
2646+
-->optional DOMString pseudoElt);
26462647
};</pre>
26472648

26482649
<p>The <dfn id="dom-window-getcomputedstyle" title="dom-Window-getComputedStyle"><code>getComputedStyle(<var title="">elt</var>, <var title="">pseudoElt</var>)</code></dfn> method must run these

cssom/Overview.src.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1960,8 +1960,8 @@ <h4>The <code title>CSSNamespaceRule</code> Interface</h4>
19601960
<p>The <code>CSSNamespaceRule</code> interface represents an <code title>@namespace</code> at-rule.</p>
19611961

19621962
<pre class=idl>interface <dfn>CSSNamespaceRule</dfn> : <span>CSSRule</span> {
1963-
[TreatNullAs=EmptyString] attribute DOMString namespaceURI;
1964-
[TreatNullAs=EmptyString] attribute DOMString prefix;
1963+
[TreatNullAs=EmptyString] attribute DOMString <span title=dom-CSSNamespaceRule-namespaceURI>namespaceURI</span>;
1964+
[TreatNullAs=EmptyString] attribute DOMString <span title=dom-CSSNamespaceRule-prefix>prefix</span>;
19651965
};</pre>
19661966

19671967
<p>The <dfn title=dom-CSSNamespaceRule-namespaceURI><code>namespaceURI</code></dfn> attribute, on getting, must return the namespace of the
@@ -2184,7 +2184,7 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
21842184
<p>If the user agent supports the 'float' CSS property, the following partial interface applies.</p>
21852185

21862186
<pre class=idl>partial interface <span>CSSStyleDeclaration</span> {
2187-
[TreatNullAs=EmptyString] attribute DOMString cssFloat;
2187+
[TreatNullAs=EmptyString] attribute DOMString <span title=dom-CSSStyleDeclaration-cssFloat>cssFloat</span>;
21882188
};</pre>
21892189

21902190
<p>The <dfn title=dom-CSSStyleDeclaration-cssFloat><code>cssFloat</code></dfn>
@@ -2573,7 +2573,8 @@ <h3>The <code>ElementCSSInlineStyle</code> Interface</h3>
25732573
<h3>Extensions to the <code title>Window</code> Interface</h3>
25742574

25752575
<pre class=idl>partial interface <span data-anolis-spec=html>Window</span> {
2576-
CSSStyleDeclaration getComputedStyle(Element elt, optional DOMString pseudoElt);
2576+
<span>CSSStyleDeclaration</span> <span title=dom-Window-getComputedStyle>getComputedStyle</span>(<span data-anolis-spec=dom>Element</span> elt, <!--
2577+
-->optional DOMString pseudoElt);
25772578
};</pre>
25782579

25792580
<p>The <dfn title=dom-Window-getComputedStyle><code>getComputedStyle(<var title>elt</var>, <var title>pseudoElt</var>)</code></dfn> method must run these

0 commit comments

Comments
 (0)