Skip to content

Commit ac748be

Browse files
author
Simon Pieters
committed
[cssom] Fix some references
1 parent b8b0d22 commit ac748be

3 files changed

Lines changed: 39 additions & 32 deletions

File tree

cssom-view/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3 id="web-idl"><span class="secno">2.1 </span>Web IDL</h3>
205205
<h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
206206

207207
<p>Terminology used in this specification is from
208-
DOM Core,
208+
DOM,
209209
CSSOM and
210210
HTML.
211211
<a href="#refsDOM">[DOM]</a>

cssom/Overview.html

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,19 @@ <h2 id="conformance"><span class="secno">2 </span>Conformance</h2>
252252
<h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
253253

254254
<p>This specification employs certain terminology from the following documents:
255-
<cite>DOM4</cite>,
255+
<cite>DOM</cite>,
256256
<cite>HTML</cite>,
257+
<cite>URL</cite>,
258+
<!--<cite>Fetch</cite>,-->
257259
<cite>Associating Style Sheets with XML documents</cite>
258260
and
259-
<cite>XML</cite>
261+
<cite>XML</cite>.
260262
<a href="#refsDOM">[DOM]</a>
261263
<a href="#refsHTML">[HTML]</a>
264+
<a href="#refsURL">[URL]</a>
265+
<!--<span data-anolis-ref>CORS</span>-->
262266
<a href="#refsXMLSS">[XMLSS]</a>
263-
<a href="#refsXML">[XML]</a>.
267+
<a href="#refsXML">[XML]</a>
264268

265269
<p>When this specification talks about object
266270
<code><var>A</var></code> where <code><var>A</var></code> is actually an interface, it generally means an object implementing interface
@@ -827,7 +831,7 @@ <h3 id="css-style-sheets"><span class="secno">6.1 </span>CSS Style Sheets</h3>
827831
<dd><p>The literal string "<code>text/css</code>".</dd>
828832

829833
<dt><dfn id="style-sheet-location">style sheet location</dfn></dt>
830-
<dd><p>The <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#url">URL</a> of the
834+
<dd><p>The <a class="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> of the
831835
<span>style sheet</span> or <code>null</code> if the <span>style sheet</span> was
832836
embedded.</dd>
833837

@@ -1510,18 +1514,18 @@ <h4 id="requirements-on-user-agents-implementing-the-xml-stylesheet-processing-i
15101514
value is not a <span>supported styling language</span> the user agent
15111515
may terminate these steps.</li>
15121516

1513-
<li><p><a class="external" href="http://www.w3.org/html/wg/drafts/html/master/urls.html#resolve-a-url" title="Resolve a URL">Resolve</a>
1514-
the <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#url">URL</a> specified by the
1517+
<li><p><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#resolve-a-url" title="Resolve a URL">Resolve</a>
1518+
the <a class="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> specified by the
15151519
<code>href</code> <a class="external" href="http://www.w3.org/TR/xml-stylesheet/#dt-pseudo-attribute">pseudo-attribute</a> and then
1516-
<a class="external" href="http://www.w3.org/html/wg/drafts/html/master/fetching-resources.html#fetch">fetch</a> it.</li>
1520+
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch">fetch</a> it.</li>
15171521

15181522
<li>
15191523
<p>When the resource is available, the document is in
15201524
<a class="external" href="http://dom.spec.whatwg.org/#concept-document-quirks" title="concept-document-quirks">quirks mode</a>
15211525
and the
1522-
<a class="external" href="http://www.w3.org/html/wg/drafts/html/master/fetching-resources.html#content-type">Content-Type metadata</a> of
1526+
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#content-type">Content-Type metadata</a> of
15231527
the resource is not a <span>supported styling language</span> change the
1524-
<a class="external" href="http://www.w3.org/html/wg/drafts/html/master/fetching-resources.html#content-type">Content-Type metadata</a> of the resource
1528+
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#content-type">Content-Type metadata</a> of the resource
15251529
to <code>text/css</code>.</p>
15261530

15271531
<p class="note">This step might never actually happen, but is included
@@ -1536,7 +1540,7 @@ <h4 id="requirements-on-user-agents-implementing-the-xml-stylesheet-processing-i
15361540

15371541
<dl>
15381542
<dt><a href="#style-sheet-location">style sheet location</a></dt>
1539-
<dd><p>The <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#absolute-url">absolute URL</a> of the
1543+
<dd><p>The <a class="external" href="http://url.spec.whatwg.org/#concept-absolute-url" title="concept-absolute-url">absolute URL</a> of the
15401544
resource.</dd>
15411545

15421546
<dt><a href="#style-sheet-parent">style sheet parent</a></dt>
@@ -1589,15 +1593,15 @@ <h4 id="requirements-on-user-agents-implementing-the-http-link-header"><span cla
15891593
"<code>alternate</code>" and <var>title</var> is the
15901594
empty string terminate these steps.</li>
15911595

1592-
<li><p><a class="external" href="http://www.w3.org/html/wg/drafts/html/master/urls.html#resolve-a-url" title="Resolve a URL">Resolve</a>
1593-
the specified <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#url">URL</a> and
1594-
<a class="external" href="http://www.w3.org/html/wg/drafts/html/master/fetching-resources.html#fetch">fetch</a> it.</li>
1596+
<li><p><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#resolve-a-url" title="Resolve a URL">Resolve</a>
1597+
the specified <a class="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> and
1598+
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#fetch">fetch</a> it.</li>
15951599

15961600
<li><p>When the resource is available, the document is in
15971601
<a class="external" href="http://dom.spec.whatwg.org/#concept-document-quirks" title="concept-document-quirks">quirks mode</a>
1598-
and the <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/fetching-resources.html#content-type">Content-Type metadata</a> of
1602+
and the <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#content-type">Content-Type metadata</a> of
15991603
the resource is not a <span>supported styling language</span> change the
1600-
<a class="external" href="http://www.w3.org/html/wg/drafts/html/master/fetching-resources.html#content-type">Content-Type metadata</a> of the resource
1604+
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#content-type">Content-Type metadata</a> of the resource
16011605
to <code>text/css</code>.</li>
16021606

16031607
<li><p>If the resource is not in a
@@ -1608,7 +1612,7 @@ <h4 id="requirements-on-user-agents-implementing-the-http-link-header"><span cla
16081612

16091613
<dl>
16101614
<dt><a href="#style-sheet-location">style sheet location</a></dt>
1611-
<dd><p>The <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#absolute-url">absolute URL</a> of the
1615+
<dd><p>The <a class="external" href="http://url.spec.whatwg.org/#concept-absolute-url" title="concept-absolute-url">absolute URL</a> of the
16121616
resource.</dd>
16131617

16141618
<dt><a href="#style-sheet-owner-node">style sheet owner node</a></dt>
@@ -1893,8 +1897,8 @@ <h4 id="the-cssimportrule-interface"><span class="secno">6.4.5 </span>The <code
18931897
readonly attribute <a href="#cssstylesheet">CSSStyleSheet</a> <a href="#dom-cssimportrule-stylesheet" title="dom-CSSImportRule-styleSheet">styleSheet</a>;
18941898
};</pre>
18951899

1896-
<p>The <dfn id="dom-cssimportrule-href" title="dom-CSSImportRule-href"><code>href</code></dfn> attribute must return the <span>URL</span> specified by the <code>@import</code> rule.</p>
1897-
<p class="note">To get the resolved <span>URL</span> use the <code title="dom-StyleSheet-href"><a href="#dom-stylesheet-href">href</a></code>
1900+
<p>The <dfn id="dom-cssimportrule-href" title="dom-CSSImportRule-href"><code>href</code></dfn> attribute must return the <a class="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> specified by the <code>@import</code> rule.</p>
1901+
<p class="note">To get the resolved <a class="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> use the <code title="dom-StyleSheet-href"><a href="#dom-stylesheet-href">href</a></code>
18981902
attribute of the associated <span>style sheet</span>.</p>
18991903

19001904
<p>The <dfn id="dom-cssimportrule-media" title="dom-CSSImportRule-media"><code>media</code></dfn> attribute must return the value of the <code title="dom-StyleSheet-media"><a href="#dom-stylesheet-media">media</a></code>
@@ -2485,7 +2489,7 @@ <h4 id="serializing-css-values"><span class="secno">6.6.2 </span>Serializing CSS
24852489
the literal string "<code>s</code>".</dd>
24862490

24872491
<dt>&lt;uri&gt;</dt>
2488-
<dd><p>The <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#absolute-url">absolute URL</a>
2492+
<dd><p>The <a class="external" href="http://url.spec.whatwg.org/#concept-absolute-url" title="concept-absolute-url">absolute URL</a>
24892493
<a href="#serialize-a-url" title="serialize a URL">URL escaped</a>.</dd>
24902494
</dl>
24912495

@@ -2808,6 +2812,9 @@ <h2 class="no-num" id="references">References</h2>
28082812
<dt id="refsRFC2119">[RFC2119]
28092813
<dd><cite><a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a></cite>, Scott Bradner. IETF.
28102814

2815+
<dt id="refsURL">[URL]
2816+
<dd><cite><a href="http://url.spec.whatwg.org/">URL</a></cite>, Anne van Kesteren. WHATWG.
2817+
28112818
<dt id="refsXML">[XML]
28122819
<dd><cite><a href="http://www.w3.org/TR/xml/">Extensible Markup Language</a></cite>, Tim Bray, Jean Paoli, C. M. Sperberg-McQueen et al.. W3C.
28132820

cssom/Overview.src.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,14 @@ <h2 id="terminology">Terminology</h2>
185185
<cite>DOM</cite>,
186186
<cite>HTML</cite>,
187187
<cite>URL</cite>,
188-
<cite>Fetch</cite>,
188+
<!--<cite>Fetch</cite>,-->
189189
<cite>Associating Style Sheets with XML documents</cite>
190190
and
191191
<cite>XML</cite>.
192192
<span data-anolis-ref>DOM</span>
193193
<span data-anolis-ref>HTML</span>
194194
<span data-anolis-ref>URL</span>
195-
<span data-anolis-ref>CORS</span>
195+
<!--<span data-anolis-ref>CORS</span>-->
196196
<span data-anolis-ref>XMLSS</span>
197197
<span data-anolis-ref>XML</span>
198198

@@ -761,7 +761,7 @@ <h3>CSS Style Sheets</h3>
761761
<dd><p>The literal string "<code>text/css</code>".</p></dd>
762762

763763
<dt><dfn>style sheet location</dfn></dt>
764-
<dd><p>The <span data-anolis-spec=url>URL</span> of the
764+
<dd><p>The <span data-anolis-spec=url title=concept-url>URL</span> of the
765765
<span>style sheet</span> or <code>null</code> if the <span>style sheet</span> was
766766
embedded.</p></dd>
767767

@@ -1445,9 +1445,9 @@ <h4>Requirements on User Agents Implementing the
14451445
may terminate these steps.</p></li>
14461446

14471447
<li><p><span data-anolis-spec=html title="Resolve a URL">Resolve</span>
1448-
the <span data-anolis-spec=url>URL</span> specified by the
1448+
the <span data-anolis-spec=url title=concept-url>URL</span> specified by the
14491449
<code>href</code> <span data-anolis-spec=xmlss>pseudo-attribute</span> and then
1450-
<span data-anolis-spec=fetch>fetch</span> it.</p></li>
1450+
<span data-anolis-spec=html>fetch</span> it.</p></li>
14511451

14521452
<li>
14531453
<p>When the resource is available, the document is in
@@ -1470,7 +1470,7 @@ <h4>Requirements on User Agents Implementing the
14701470

14711471
<dl>
14721472
<dt><span>style sheet location</span></dt>
1473-
<dd><p>The <span data-anolis-spec=url>absolute URL</span> of the
1473+
<dd><p>The <span data-anolis-spec=url title=concept-absolute-url>absolute URL</span> of the
14741474
resource.</p></dd>
14751475

14761476
<dt><span>style sheet parent</span></dt>
@@ -1524,8 +1524,8 @@ <h4>Requirements on User Agents Implementing the HTTP
15241524
empty string terminate these steps.</p></li>
15251525

15261526
<li><p><span data-anolis-spec=html title="Resolve a URL">Resolve</span>
1527-
the specified <span data-anolis-spec=url>URL</span> and
1528-
<span data-anolis-spec=fetch>fetch</span> it.</p></li>
1527+
the specified <span data-anolis-spec=url title=concept-url>URL</span> and
1528+
<span data-anolis-spec=html>fetch</span> it.</p></li>
15291529

15301530
<li><p>When the resource is available, the document is in
15311531
<span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span>
@@ -1542,7 +1542,7 @@ <h4>Requirements on User Agents Implementing the HTTP
15421542

15431543
<dl>
15441544
<dt><span>style sheet location</span></dt>
1545-
<dd><p>The <span data-anolis-spec=url>absolute URL</span> of the
1545+
<dd><p>The <span data-anolis-spec=url title=concept-absolute-url>absolute URL</span> of the
15461546
resource.</p></dd>
15471547

15481548
<dt><span>style sheet owner node</span></dt>
@@ -1827,8 +1827,8 @@ <h4>The <code title>CSSImportRule</code> Interface</h4>
18271827
readonly attribute <span>CSSStyleSheet</span> <span title=dom-CSSImportRule-styleSheet>styleSheet</span>;
18281828
};</pre>
18291829

1830-
<p>The <dfn title=dom-CSSImportRule-href><code>href</code></dfn> attribute must return the <span data-anolis-spec=url>URL</span> specified by the <code>@import</code> rule.</p>
1831-
<p class='note'>To get the resolved <span data-anolis-spec=url>URL</span> use the <code title='dom-StyleSheet-href'>href</code>
1830+
<p>The <dfn title=dom-CSSImportRule-href><code>href</code></dfn> attribute must return the <span data-anolis-spec=url title=concept-url>URL</span> specified by the <code>@import</code> rule.</p>
1831+
<p class='note'>To get the resolved <span data-anolis-spec=url title=concept-url>URL</span> use the <code title='dom-StyleSheet-href'>href</code>
18321832
attribute of the associated <span>style sheet</span>.</p>
18331833

18341834
<p>The <dfn title=dom-CSSImportRule-media><code>media</code></dfn> attribute must return the value of the <code title='dom-StyleSheet-media'>media</code>
@@ -2419,7 +2419,7 @@ <h4>Serializing CSS Values</h4>
24192419
the literal string "<code>s</code>".</dd>
24202420

24212421
<dt>&lt;uri></dt>
2422-
<dd><p>The <span data-anolis-spec=url>absolute URL</span>
2422+
<dd><p>The <span data-anolis-spec=url title=concept-absolute-url>absolute URL</span>
24232423
<span title="serialize a URL">URL escaped</span>.</p></dd>
24242424
</dl>
24252425

0 commit comments

Comments
 (0)