Skip to content

Commit 102e5fc

Browse files
committed
modernize references
1 parent 2dc8851 commit 102e5fc

2 files changed

Lines changed: 61 additions & 74 deletions

File tree

cssom-view/Overview.html

Lines changed: 35 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ <h2 id=conformance><span class=secno>2. </span>Conformance Criteria</h2>
221221
are to be interpreted as described in RFC 2119.-->
222222

223223
<p>The key word <em class=ct>must</em> in this document is to be
224-
interpreted as described in RFC 2119. [<cite><a
225-
href="#ref-rfc2119">RFC2119</a></cite>]
224+
interpreted as described in RFC 2119. <a href="#ref-rfc2119">[RFC2119]</a>
226225

227226
<p>A conforming user agent implements all the requirements made by this
228227
specification.
@@ -231,31 +230,31 @@ <h3 id=webidl><span class=secno>2.1. </span>Web IDL</h3>
231230

232231
<p>The IDL fragments in this specification <em class=ct>must</em> be
233232
interpreted as required for conforming IDL fragments, as described in the
234-
Web IDL specification. [<cite><a href="#ref-webidl">WebIDL</a></cite>]
233+
Web IDL specification. <a href="#ref-webidl">[WebIDL]</a>
235234

236235
<h3 id=terminology><span class=secno>2.2. </span>Terminology</h3>
237236

238237
<p><dfn id=document><code>Document</code></dfn> and <dfn
239-
id=element><code>Element</code></dfn> are defined by DOM Level 3 Core.
240-
[<cite><a href="#ref-dom3core">DOM3Core</a></cite>]
238+
id=element><code>Element</code></dfn> are defined by DOM Core. <a
239+
href="#ref-domcore">[DOMCore]</a>]
241240

242-
<p><dfn id=range><code>Range</code></dfn> is defined in DOM Level 2
243-
Traversal and Range. [<cite><a href="#ref-dom2tr">DOM2TR</a></cite>]
241+
<p><dfn id=range><code>Range</code></dfn> is defined in DOM Range. <a
242+
href="#ref-domrange">[DOMRange]</a>
244243

245244
<p><dfn id=mouseevent><code>MouseEvent</code></dfn> is defined in DOM Level
246-
2 Events. [<cite><a href="#ref-dom2events">DOM2Events</a></cite>]
245+
2 Events. <a href="#ref-dom2events">[DOM2Events]</a>
247246

248247
<p> <dfn id=serialize-a-media-query-list>Serialize a media query list</dfn>
249248
and <dfn id=parse-a-media-query-list>parse a media query list</dfn> are
250-
defined by the CSSOM. [<cite><a href="#ref-cssom">CSSOM</a></cite>]
249+
defined by the CSSOM. <a href="#ref-cssom">[CSSOM]</a>
251250

252251
<p> <dfn id=fire-a-simple-event title="Fire a simple event">Firing a simple
253252
event named <var title="">e</var></dfn>, <dfn id=html-element>HTML
254253
element</dfn>, <dfn id=htmlelement><code>HTMLElement</code></dfn>, <dfn
255254
id=queue-a-task>queue a task</dfn>, <dfn id=quirks-mode>quirks mode</dfn>,
256255
<dfn id=same-origin>same origin</dfn>, <dfn id=task>task</dfn>, and <dfn
257-
id=window><code>Window</code></dfn> are defined by HTML5. [<cite><a
258-
href="#ref-html5">HTML5</a></cite>]
256+
id=window><code>Window</code></dfn> are defined by HTML. <a
257+
href="#ref-html">[HTML]</a>
259258

260259
<p><dfn id=the-html-body-element>The HTML <code>body</code> element</dfn>
261260
is the first <code>body</code> <a href="#html-element">HTML element</a>
@@ -264,20 +263,19 @@ <h3 id=terminology><span class=secno>2.2. </span>Terminology</h3>
264263

265264
<p><dfn id=content-edge>Content edge</dfn>, <dfn id=padding-edge>padding
266265
edge</dfn>, <dfn id=border-edge>border edge</dfn>, and <dfn
267-
id=canvas>canvas</dfn> are defined by CSS 2.1. [<cite><a
268-
href="#ref-css21">CSS21</a></cite>]
266+
id=canvas>canvas</dfn> are defined by CSS 2.1. <a
267+
href="#ref-css">[CSS21]</a>
269268

270269
<p><dfn id=viewport>Viewport</dfn> and <dfn
271270
id=initial-containing-block>initial containing block</dfn> are defined by
272271
CSS 2.1 unless there is an ancestor <code>foreignObject</code> element in
273272
the <code>http://www.w3.org/2000/svg</code> namespace in which case that
274-
element acts as viewport and initial containing block. [<cite><a
275-
href="#ref-css21">CSS21</a></cite>] [<cite><a
276-
href="#ref-svg">SVG</a></cite>]
273+
element acts as viewport and initial containing block. <a
274+
href="#ref-css">[CSS21]</a> <a href="#ref-svg">[SVG]</a>
277275

278276
<p>The term <dfn id=content>content</dfn> refers to the dimensions of the
279-
element's content area, including overflown content. [<cite><a
280-
href="#ref-css21">CSS21</a></cite>]
277+
element's content area, including overflown content. <a
278+
href="#ref-css">[CSS21]</a>
281279

282280
<p>The term <dfn id=document-content>document content</dfn> refers to the
283281
area on the <a href="#canvas">canvas</a> that is rendered upon, excluding
@@ -286,8 +284,7 @@ <h3 id=terminology><span class=secno>2.2. </span>Terminology</h3>
286284
<h3 id=css-pixels><span class=secno>2.3. </span>CSS pixels</h3>
287285

288286
<p>All coordinates and dimensions for the APIs defined in this
289-
specification are in CSS pixels. [<cite><a
290-
href="#ref-css21">CSS21</a></cite>]
287+
specification are in CSS pixels. <a href="#ref-css">[CSS21]</a>
291288

292289
<p class=note>This does not apply to e.g. <a
293290
href="#dom-window-matchmedia"><code
@@ -754,7 +751,7 @@ <h3 id=the-getclientrects-and-getboundingclient><span class=secno>5.1.
754751
href="#clientrectlist"><code>ClientRectList</code></a> object containing
755752
a single <a href="#clientrect"><code>ClientRect</code></a> object that
756753
describes the bounding box of the element as defined by the SVG
757-
specification. [<cite><a href="#ref-svg">SVG</a></cite>]
754+
specification. <a href="#ref-svg">[SVG]</a>
758755

759756
<li>
760757
<p>Return a <a href="#clientrectlist"><code>ClientRectList</code></a>
@@ -768,15 +765,15 @@ <h3 id=the-getclientrects-and-getboundingclient><span class=secno>5.1.
768765
<p>If the element on which the method was invoked has a computed value
769766
for <code>display</code> property of <code>table</code> or
770767
<code>inline-table</code> include both the table box and the caption
771-
box, if any, but not the anonymous container box. [<cite><a
772-
href="#ref-css21">CSS21</a></cite>]
768+
box, if any, but not the anonymous container box. <a
769+
href="#ref-css">[CSS21]</a>
773770

774771
<li>
775772
<p>Replace each <a
776773
href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">anonymous
777774
block box</a> with its child box(es) and repeat this until no
778-
anonymous block boxes are left in the final list. [<cite><a
779-
href="#ref-css21">CSS21</a></cite>]
775+
anonymous block boxes are left in the final list. <a
776+
href="#ref-css">[CSS21]</a>
780777
</ul>
781778
</ol>
782779

@@ -1559,57 +1556,55 @@ <h2 class=no-num id=references>References</h2>
15591556
<p>All references are normative<!--, unless stated otherwise-->.
15601557

15611558
<dl>
1562-
<dt>[<dfn id=ref-css21>CSS21</dfn>]
1559+
<dt id=ref-css>[CSS21]
15631560

15641561
<dd><cite><a href="http://www.w3.org/TR/CSS2/">Cascading Style Sheets
15651562
Level 2 Revision 1</a></cite>, B. Bos, T. &Ccedil;elik, I. Hickson, H.
15661563
Wium Lie. W3C.
15671564

1568-
<dt>[<dfn id=ref-cssom>CSSOM</dfn>]
1565+
<dt id=ref-cssom>[CSSOM]
15691566

15701567
<dd><cite><a href="http://dev.w3.org/csswg/cssom/">CSSOM</a></cite> (work
15711568
in progress), A. van Kesteren. W3C.
15721569

1573-
<dt>[<dfn id=ref-dom2events>DOM2Events</dfn>]
1570+
<dt id=ref-dom2events>[DOM2Events]
15741571

15751572
<dd><cite><a href="http://www.w3.org/TR/DOM-Level-2-Events/">Document
15761573
Object Model (DOM) Level 2 Events Specification</a></cite>, T. Pixley.
15771574
W3C.
15781575

1579-
<dt>[<dfn id=ref-dom2tr>DOM2TR</dfn>]
1576+
<dt id=ref-domcore>[DOMCore]
15801577

15811578
<dd><cite><a
1582-
href="http://www.w3.org/TR/DOM-Level-2-Traversal-Range/">Document Object
1583-
Model (DOM) Level 2 Traversal and Range Specification</a></cite>, J.
1584-
Kesselman, J. Robie, M. Champion, P. Sharpe, V. Apparao, L. Wood. W3C.
1579+
href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html">DOM
1580+
Core</a></cite>, A. van Kesteren, Ms2ger. W3C.
15851581

1586-
<dt>[<dfn id=ref-dom3core>DOM3Core</dfn>]
1582+
<dt id=ref-domrange>[DOMRange]
15871583

1588-
<dd><cite><a href="http://www.w3.org/TR/DOM-Level-3-Core">Document Object
1589-
Model (DOM) Level 3 Core Specification</a></cite>, A. Le Hors, P. Le
1590-
H&eacute;garet, L. Wood, G. Nicol, J. Robie, M. Champion, S. Byrne. W3C.
1584+
<dd><cite><a href="http://html5.org/specs/dom-range.html">DOM
1585+
Range</a></cite>, Ms2ger. html5.org.
15911586

1592-
<dt>[<dfn id=ref-html5>HTML5</dfn>]
1587+
<dt id=ref-html>[HTML]
15931588

15941589
<dd><cite><a href="http://dev.w3.org/html5/spec/">HTML5</a></cite> (work
15951590
in progress), I. Hickson. W3C.
15961591

15971592
<dd><cite><a
1598-
href="http://www.whatwg.org/specs/web-apps/current-work/">HTML5</a></cite>
1593+
href="http://www.whatwg.org/specs/web-apps/current-work/">HTML</a></cite>
15991594
(work in progress), I. Hickson. WHATWG.
16001595

16011596
<dt>[<dfn id=ref-rfc2119>RFC2119</dfn>]
16021597

16031598
<dd><cite><a href="http://ietf.org/rfc/rfc2119">Key words for use in RFCs
16041599
to Indicate Requirement Levels</a></cite>, S. Bradner. IETF.
16051600

1606-
<dt>[<dfn id=ref-svg>SVG</dfn>]
1601+
<dt id=ref-svg>[SVG]
16071602

16081603
<dd><cite><a href="http://www.w3.org/TR/SVG11/">Scalable Vector Graphics
16091604
(SVG) 1.1 Specification</a></cite>, J. Ferraiolo, &#34276;&#27810;
16101605
&#28147;, D. Jackson. W3C.
16111606

1612-
<dt>[<dfn id=ref-webidl>WebIDL</dfn>]
1607+
<dt id=ref-webidl>[WebIDL]
16131608

16141609
<dd><cite><a href="http://dev.w3.org/2006/webapi/WebIDL/">Web
16151610
IDL</a></cite> (work in progress), C. McCormack. W3C.

cssom-view/Overview.src.html

Lines changed: 26 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h2 id="conformance">Conformance Criteria</h2>
9595
are to be interpreted as described in RFC 2119.-->
9696
<p>The key word <em class="ct">must</em> in this document is to be
9797
interpreted as described in RFC 2119.
98-
[<cite><span>RFC2119</span></cite>]</p>
98+
<a href="#ref-rfc2119">[RFC2119]</a></p>
9999

100100
<p>A conforming user agent implements all the requirements made by this
101101
specification.</p>
@@ -105,24 +105,24 @@ <h3 id="webidl">Web IDL</h3>
105105

106106
<p>The IDL fragments in this specification <em class="ct">must</em> be
107107
interpreted as required for conforming IDL fragments, as described in the
108-
Web IDL specification. [<cite><span>WebIDL</span></cite>]</p>
108+
Web IDL specification. <a href="#ref-webidl">[WebIDL]</a></p>
109109

110110

111111
<h3 id="terminology">Terminology</h3>
112112

113113
<p><dfn><code>Document</code></dfn> and <dfn><code>Element</code></dfn>
114-
are defined by DOM Level 3 Core. [<cite><span>DOM3Core</span></cite>]</p>
114+
are defined by DOM Core. <a href="#ref-domcore">[DOMCore]</a>]</p>
115115

116116
<p><dfn><code>Range</code></dfn> is defined in
117-
DOM Level 2 Traversal and Range. [<cite><span>DOM2TR</span></cite>]</p>
117+
DOM Range. <a href="#ref-domrange">[DOMRange]</a></p>
118118

119119
<p><dfn><code>MouseEvent</code></dfn> is defined in DOM Level 2 Events.
120-
[<cite><span>DOM2Events</span></cite>]</p>
120+
<a href="#ref-dom2events">[DOM2Events]</a></p>
121121

122122
<p>
123123
<dfn>Serialize a media query list</dfn> and
124124
<dfn>parse a media query list</dfn>
125-
are defined by the CSSOM. [<cite><span>CSSOM</span></cite>]</p>
125+
are defined by the CSSOM. <a href="#ref-cssom">[CSSOM]</a></p>
126126

127127
<p>
128128
<dfn id="fire-a-simple-event" title="Fire a simple event">Firing a simple event named <var title="">e</var></dfn>,
@@ -133,7 +133,7 @@ <h3 id="terminology">Terminology</h3>
133133
<dfn>same origin</dfn>,
134134
<dfn>task</dfn>, and
135135
<dfn><code>Window</code></dfn>
136-
are defined by HTML5. [<cite><span>HTML5</span></cite>]</p>
136+
are defined by HTML. <a href="#ref-html">[HTML]</a></p>
137137

138138
<p><dfn>The HTML <code>body</code> element</dfn> is the first
139139
<code>body</code> <span>HTML element</span> child of the root
@@ -143,19 +143,18 @@ <h3 id="terminology">Terminology</h3>
143143
<dfn id="padding-edge">padding edge</dfn>,
144144
<dfn id="border-edge">border edge</dfn>, and
145145
<dfn id="canvas">canvas</dfn> are defined by CSS 2.1.
146-
[<cite><span>CSS21</span></cite>]</p>
146+
<a href="#ref-css">[CSS21]</a></p>
147147

148148
<p><dfn id="viewport">Viewport</dfn> and
149149
<dfn id="initial-containing-block">initial containing block</dfn> are
150150
defined by CSS 2.1 unless there is an ancestor <code>foreignObject</code>
151151
element in the <code>http://www.w3.org/2000/svg</code> namespace in which
152152
case that element acts as viewport and initial containing block.
153-
[<cite><span>CSS21</span></cite>]
154-
[<cite><span>SVG</span></cite>]</p>
153+
<a href="#ref-css">[CSS21]</a> <a href="#ref-svg">[SVG]</a></p>
155154

156155
<p>The term <dfn>content</dfn> refers to the dimensions of the element's
157156
content area, including overflown content.
158-
[<cite><span>CSS21</span></cite>]</p>
157+
<a href="#ref-css">[CSS21]</a></p>
159158

160159
<p>The term <dfn>document content</dfn> refers to the area on the
161160
<span>canvas</span> that is rendered upon, excluding content on negative
@@ -165,7 +164,7 @@ <h3 id="terminology">Terminology</h3>
165164
<h3>CSS pixels</h3>
166165

167166
<p>All coordinates and dimensions for the APIs defined in this
168-
specification are in CSS pixels. [<cite><span>CSS21</span></cite>]</p>
167+
specification are in CSS pixels. <a href="#ref-css">[CSS21]</a></p>
169168

170169
<p class="note">This does not apply to e.g.
171170
<code title="dom-Window-matchMedia">matchMedia()</code> as the units
@@ -588,7 +587,7 @@ <h3>The <code title="">getClientRects()</code> and
588587
<code>ClientRectList</code> object containing a single
589588
<code>ClientRect</code> object that describes the bounding box of the
590589
element as defined by the SVG specification.
591-
[<cite><span>SVG</span></cite>]</p></li>
590+
<a href="#ref-svg">[SVG]</a></p></li>
592591

593592
<li>
594593
<p>Return a <code>ClientRectList</code> object containing a list of
@@ -601,13 +600,13 @@ <h3>The <code title="">getClientRects()</code> and
601600
value for <code>display</code> property of <code>table</code> or
602601
<code>inline-table</code> include both the table box and the caption
603602
box, if any, but not the anonymous container box.
604-
[<cite><span>CSS21</span></cite>]</p></li>
603+
<a href="#ref-css">[CSS21]</a></p></li>
605604

606605
<li><p>Replace each
607606
<a href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">anonymous
608607
block box</a> with its child box(es) and repeat this until no anonymous
609608
block boxes are left in the final list.
610-
[<cite><span>CSS21</span></cite>]</p></li>
609+
<a href="#ref-css">[CSS21]</a></p></li>
611610
</ul>
612611
</li>
613612
</ol>
@@ -1297,50 +1296,43 @@ <h2 class="no-num">References</h2>
12971296
<p>All references are normative<!--, unless stated otherwise-->.</p>
12981297

12991298
<dl>
1300-
<dt>[<dfn id="ref-css21">CSS21</dfn>]</dt>
1299+
<dt id="ref-css">[CSS21]</dt>
13011300
<dd><cite><a href="http://www.w3.org/TR/CSS2/">Cascading Style Sheets
13021301
Level 2 Revision 1</a></cite>, B. Bos, T. &Ccedil;elik, I. Hickson, H.
13031302
Wium Lie. W3C.</dd>
13041303

1305-
<dt>[<dfn id="ref-cssom">CSSOM</dfn>]</dt>
1304+
<dt id="ref-cssom">[CSSOM]</dt>
13061305
<dd><cite><a href="http://dev.w3.org/csswg/cssom/">CSSOM</a></cite>
13071306
(work in progress), A. van Kesteren. W3C.</dd>
13081307

1309-
<dt>[<dfn id="ref-dom2events">DOM2Events</dfn>]</dt>
1308+
<dt id="ref-dom2events">[DOM2Events]</dt>
13101309
<dd><cite><a href="http://www.w3.org/TR/DOM-Level-2-Events/">Document
13111310
Object Model (DOM) Level 2 Events Specification</a></cite>, T. Pixley.
13121311
W3C.</dd>
13131312

1314-
<dt>[<dfn id="ref-dom2tr">DOM2TR</dfn>]</dt>
1315-
<dd><cite><a href="http://www.w3.org/TR/DOM-Level-2-Traversal-Range/">Document
1316-
Object Model (DOM) Level 2 Traversal and Range Specification</a></cite>,
1317-
J. Kesselman, J. Robie, M. Champion, P. Sharpe, V. Apparao, L. Wood.
1318-
W3C.</dd>
1313+
<dt id="ref-domcore">[DOMCore]</dt>
1314+
<dd><cite><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html">DOM Core</a></cite>, A. van Kesteren, Ms2ger. W3C.</dd>
13191315

1320-
<dt>[<dfn id="ref-dom3core">DOM3Core</dfn>]</dt>
1321-
<dd><cite><a href="http://www.w3.org/TR/DOM-Level-3-Core">Document Object
1322-
Model (DOM) Level 3 Core Specification</a></cite>, A. Le Hors, P. Le
1323-
H&eacute;garet, L. Wood, G. Nicol, J. Robie, M. Champion, S. Byrne.
1324-
W3C.</dd>
1316+
<dt id="ref-domrange">[DOMRange]</dt>
1317+
<dd><cite><a href="http://html5.org/specs/dom-range.html">DOM Range</a></cite>, Ms2ger. html5.org.</dd>
13251318

1326-
<dt>[<dfn id="ref-html5">HTML5</dfn>]</dt>
1319+
<dt id="ref-html">[HTML]</dt>
13271320
<dd><cite><a href="http://dev.w3.org/html5/spec/">HTML5</a></cite>
13281321
(work in progress), I. Hickson. W3C.</dd>
1329-
<dd><cite><a href="http://www.whatwg.org/specs/web-apps/current-work/">HTML5</a></cite>
1322+
<dd><cite><a href="http://www.whatwg.org/specs/web-apps/current-work/">HTML</a></cite>
13301323
(work in progress), I. Hickson. WHATWG.</dd>
13311324

13321325
<dt>[<dfn id="ref-rfc2119">RFC2119</dfn>]</dt>
13331326
<dd><cite><a href="http://ietf.org/rfc/rfc2119">Key words for use in RFCs to
13341327
Indicate Requirement Levels</a></cite>, S. Bradner. IETF.</dd>
13351328

1336-
<dt>[<dfn id="ref-svg">SVG</dfn>]</dt>
1329+
<dt id="ref-svg">[SVG]</dt>
13371330
<dd><cite><a href="http://www.w3.org/TR/SVG11/">Scalable Vector Graphics
13381331
(SVG) 1.1 Specification</a></cite>, J. Ferraiolo, &#34276;&#27810;
13391332
&#28147;, D. Jackson. W3C.</dd>
13401333

1341-
<dt>[<dfn id="ref-webidl">WebIDL</dfn>]</dt>
1342-
<dd><cite><a href="http://dev.w3.org/2006/webapi/WebIDL/">Web
1343-
IDL</a></cite> (work in progress), C. McCormack. W3C.</dd>
1334+
<dt id="ref-webidl">[WebIDL]</dt>
1335+
<dd><cite><a href="http://dev.w3.org/2006/webapi/WebIDL/">Web IDL</a></cite> (work in progress), C. McCormack. W3C.</dd>
13441336
</dl>
13451337

13461338
<h2 class="no-num">Acknowledgments</h2>

0 commit comments

Comments
 (0)