8000 [cssom] More xref tweaks and fixes · w3c/csswg-drafts@7ee5ab5 · GitHub
Skip to content

Commit 7ee5ab5

Browse files
author
Simon Pieters
committed
[cssom] More xref tweaks and fixes
1 parent 676f99b commit 7ee5ab5

2 files changed

Lines changed: 105 additions & 105 deletions

File tree

cssom/Overview.html

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
10171017

10181018
<p>Each <code class="external"><a href="http://dom.spec.whatwg.org/#document">Document</a></code> has an associated list of zero or more
10191019
<a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a>, named the
1020-
<dfn id="document-style-sheets">document style sheets</dfn>. This is
1020+
<dfn id="document-css-style-sheets">document CSS style sheets</dfn>. This is
10211021
an ordered list that contains all
10221022
<a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> associated with the
10231023
<code class="external"><a href="http://dom.spec.whatwg.org/#document">Document</a></code>, in
@@ -1033,16 +1033,16 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
10331033
<li><p>Create a new <a href="#css-style-sheet">CSS style sheet</a> object and set its
10341034
properties as specified.</li>
10351035

1036-
<li><p>Then run the <a href="#add-a-style-sheet">add a style sheet</a> steps for the newly
1036+
<li><p>Then run the <a href="#add-a-css-style-sheet">add a CSS style sheet</a> steps for the newly
10371037
created <a href="#css-style-sheet">CSS style sheet</a>.</li>
10381038
</ol>
10391039

1040-
<p>To <dfn id="add-a-style-sheet">add a style sheet</dfn>, run these
1040+
<p>To <dfn id="add-a-css-style-sheet">add a CSS style sheet</dfn>, run these
10411041
steps:</p>
10421042

10431043
<ol>
10441044
<li><p>Add the <a href="#css-style-sheet">CSS style sheet</a> to the list of
1045-
<a href="#document-style-sheets">document style sheets</a> at the appropriate location. The
1045+
<a href="#document-css-style-sheets">document CSS style sheets</a> at the appropriate location. The
10461046
remainder of these steps deal with the
10471047
<a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a>.</li>
10481048

@@ -1051,8 +1051,8 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
10511051

10521052
<li><p>If the <a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> is non-empty, the
10531053
<a href="#concept-css-style-sheet-alternate-flag" title="concept-css-style-sheet-alternate-flag">alternate flag</a> is clear, and
1054-
<a href="#preferred-style-sheet-set-name">preferred style sheet set name</a> is the empty string
1055-
<a href="#change-the-preferred-style-sheet-set-name">change the preferred style sheet set name</a> to the
1054+
<a href="#preferred-css-style-sheet-set-name">preferred CSS style sheet set name</a> is the empty string
1055+
<a href="#change-the-preferred-css-style-sheet-set-name">change the preferred CSS style sheet set name</a> to the
10561056
<a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a>.</li>
10571057

10581058
<li>
@@ -1061,92 +1061,92 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
10611061

10621062
<ul>
10631063
<li><p>The <a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> is empty.</li>
1064-
<li><p>The <a href="#last-style-sheet-set-name">last style sheet set name</a> is null and the
1064+
<li><p>The <a href="#last-css-style-sheet-set-name">last CSS style sheet set name</a> is null and the
10651065
<a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> is a
10661066
<a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match
1067-
for the <a href="#preferred-style-sheet-set-name">preferred style sheet set name</a>.</li>
1067+
for the <a href="#preferred-css-style-sheet-set-name">preferred CSS style sheet set name</a>.</li>
10681068
<li><p>The <a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> is a
10691069
<a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitiv 7D6E e</a> match for the
1070-
<a href="#last-style-sheet-set-name">last style sheet set name</a>.</li>
1070+
<a href="#last-css-style-sheet-set-name">last CSS style sheet set name</a>.</li>
10711071
</ul>
10721072
</li>
10731073

10741074
<li><p>Set the <a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a>.</li>
10751075
</ol>
10761076

1077-
<p>A <dfn id="persistent-style-sheet">persistent style sheet</dfn> is a
1078-
<a href="#css-style-sheet">CSS style sheet</a> from the <a href="#document-style-sheets">document style sheets</a>
1077+
<p>A <dfn id="persistent-css-style-sheet">persistent CSS style sheet</dfn> is a
1078+
<a href="#css-style-sheet">CSS style sheet</a> from the <a href="#document-css-style-sheets">document CSS style sheets</a>
10791079
whose <a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> is the empty string and whose
10801080
<a href="#concept-css-style-sheet-alternate-flag" title="concept-css-style-sheet-alternate-flag">alternate flag</a> is clear.</p>
10811081

1082-
<p>A <dfn id="style-sheet-set">style sheet set</dfn> is an ordered
1082+
<p>A <dfn id="css-style-sheet-set">CSS style sheet set</dfn> is an ordered
10831083
collection of one or more <a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a>
1084-
from the <a href="#document-style-sheets">document style sheets</a> which have an identical
1084+
from the <a href="#document-css-style-sheets">document CSS style sheets</a> which have an identical
10851085
<a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> that is not the empty string.</p>
10861086

1087-
<p>A <dfn id="style-sheet-set-name">style sheet set name</dfn> is the
1088-
<a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> the <span title="concept-css-style-sheet-set">set</span> has in
1087+
<p>A <dfn id="css-style-sheet-set-name">CSS style sheet set name</dfn> is the
1088+
<a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> the <a href="#css-style-sheet-set">CSS style sheet set</a> has in
10891089
common.</p>
10901090

1091-
<p>An <dfn id="enabled-style-sheet-set">enabled style sheet set</dfn> is a
1092-
<span title="concept-css-style-sheet-set">set</span> of which each <a href="#css-style-sheet">CSS style sheet</a> has
1091+
<p>An <dfn id="enabled-css-style-sheet-set">enabled CSS style sheet set</dfn> is a
1092+
<a href="#css-style-sheet-set">CSS style sheet set</a> of which each <a href="#css-style-sheet">CSS style sheet</a> has
10931093
its <a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> clear.</p>
10941094

1095-
<p>To <dfn id="enable-a-style-sheet-set">enable a style sheet set</dfn>
1095+
<p>To <dfn id="enable-a-css-style-sheet-set">enable a CSS style sheet set</dfn>
10961096
with name <var title="">name</var>, run these steps:</p>
10971097

10981098
<ol>
10991099
<li><p>If <var title="">name</var> is the empty string, set the
11001100
<a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> for each <a href="#css-style-sheet">CSS style sheet</a>
1101-
that is in a <span title="concept-css-style-sheet-set">set</span> and terminate these steps.</li>
1101+
that is in a <a href="#css-style-sheet-set">CSS style sheet set</a> and terminate these steps.</li>
11021102

11031103
<li><p>Clear the <a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> for each
1104-
<a href="#css-style-sheet">CSS style sheet</a> in a <span title="concept-css-style-sheet-set">set</span> whose
1104+
<a href="#css-style-sheet">CSS style sheet</a> in a <a href="#css-style-sheet-set">CSS style sheet set</a> whose
11051105
<span title="concept-css-style-sheet-set-name">set name</span> is a
11061106
<a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for
11071107
<var title="">name</var> and set it for all other
11081108
<a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> in a
1109-
<span title="concept-css-style-sheet-set">set</span>.</li>
1109+
<a href="#css-style-sheet-set">CSS style sheet set</a>.</li>
11101110
</ol>
11111111

1112-
<p>To <dfn id="select-a-style-sheet-set">select a style sheet set</dfn>
1112+
<p>To <dfn id="select-a-css-style-sheet-set">select a CSS style sheet set</dfn>
11131113
with name <var title="">name</var>, run these steps:</p>
11141114

11151115
<ol>
1116-
<li><p><a href="#enable-a-style-sheet-set">Enable a style sheet set</a> with name
1116+
<li><p><a href="#enable-a-css-style-sheet-set">enable a CSS style sheet set</a> with name
11171117
<var title="">name</var>.</li>
11181118

1119-
<li><p>Set <a href="#last-style-sheet-set-name">last style sheet set name</a> to
1119+
<li><p>Set <a href="#last-css-style-sheet-set-name">last CSS style sheet set name</a> to
11201120
<var title="">name</var>.</li>
11211121
</ol>
11221122

1123-
<p>A <dfn id="last-style-sheet-set-name">last style sheet set name</dfn>
1124-
is a concept to determine what <span title="concept-css-style-sheet-set">set</span> was last
1125-
<a href="#select-a-style-sheet-set" title="select a style sheet set">selected</a>. Initially its
1123+
<p>A <dfn id="last-css-style-sheet-set-name">last CSS style sheet set name</dfn>
1124+
is a concept to determine what <a href="#css-style-sheet-set">CSS style sheet set</a> was last
1125+
<a href="#select-a-css-style-sheet-set" title="select a CSS style sheet set">selected</a>. Initially its
11261126
value is null.</p>
11271127

11281128
<p>A
1129-
<dfn id="preferred-style-sheet-set-name">preferred style sheet set name</dfn>
1129+
<dfn id="preferred-css-style-sheet-set-name">preferred CSS style sheet set name</dfn>
11301130
is a concept to determine which
11311131
<a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> need to have their
11321132
<a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> clear. Initially its value
11331133
is the empty string.
11341134

11351135
<p>To
1136-
<dfn id="change-the-preferred-style-sheet-set-name">change the preferred style sheet set name</dfn>
1136+
<dfn id="change-the-preferred-css-style-sheet-set-name">change the preferred CSS style sheet set name</dfn>
11371137
with name <var title="">name</var>, run these steps:</p>
11381138

11391139
<ol>
1140-
<li><p>Let <var title="">current</var> be the <a href="#preferred-style-sheet-set-name">preferred style sheet set name</a>.</li>
1140+
<li><p>Let <var title="">current</var> be the <a href="#preferred-css-style-sheet-set-name">preferred CSS style sheet set name</a>.</li>
11411141

1142-
<li><p>Set <a href="#preferred-style-sheet-set-name">preferred style sheet set name</a> to
1142+
<li><p>Set <a href="#preferred-css-style-sheet-set-name">preferred CSS style sheet set name</a> to
11431143
<var title="">name</var>.</li>
11441144

11451145
<li><p>If <var title="">name</var> is not a
11461146
<a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for
11471147
<var title="">current</var> and
1148-
<a href="#last-style-sheet-set-name">last style sheet set name</a> is null
7B3C 1149-
<a href="#enable-a-style-sheet-set">enable a style sheet set</a> with name
1148+
<a href="#last-css-style-sheet-set-name">last CSS style sheet set name</a> is null
1149+
<a href="#enable-a-css-style-sheet-set">enable a CSS style sheet set</a> with name
11501150
<var title="">name</var>.</li>
11511151
</ol>
11521152

@@ -1160,13 +1160,13 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
11601160
<h4 id="the-http-default-style-header"><span class="secno">6.2.1 </span>The HTTP <code title="">Default-Style</code> Header</h4>
11611161

11621162
<p>The HTTP <code title="http-default-style"><a href="#default-style">Default-Style</a></code> header
1163-
can be used to set the <a href="#preferred-style-sheet-set-name">preferred style sheet set name</a>
1164-
influencing which <span title="concept-css-style-sheet-set">set</span> is (initially) the
1165-
<a href="#enabled-style-sheet-set">enabled style sheet set</a>.</p>
1163+
can be used to set the <a href="#preferred-css-style-sheet-set-name">preferred CSS style sheet set name</a>
1164+
influencing which <a href="#css-style-sheet-set">CSS style sheet set</a> is (initially) the
1165+
<a href="#enabled-css-style-sheet-set">enabled CSS style sheet set</a>.</p>
11661166

11671167
<p>For each HTTP <code title="http-default-style"><a href="#default-style">Default-Style</a></code>
11681168
header, in header order, the user agent must
1169-
<a href="#change-the-preferred-style-sheet-set-name">change the preferred style sheet set name</a> with name being the
1169+
<a href="#change-the-preferred-css-style-sheet-set-name">change the preferred CSS style sheet set name</a> with name being the
11701170
value of the header.</p>
11711171

11721172

@@ -1252,21 +1252,21 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>E
12521252
};</pre>
12531253

12541254
<p>The <dfn id="dom-document-stylesheets" title="dom-Document-styleSheets"><code>styleSheets</code></dfn> attribute must return a <code><a href="#stylesheetlist">StyleSheetList</a></code> collection representing
1255-
the <a href="#document-style-sheets">document style sheets</a>.</p>
1255+
the <a href="#document-css-style-sheets">document CSS style sheets</a>.</p>
12561256
<p class="note">Because of historical IDL limitations the <code title="dom-Document-styleSheets"><a href="#dom-document-stylesheets">styleSheets</a></code> attribute
12571257
used to be on a separate interface, <code>DocumentStyle</code>.</p>
12581258

12591259
<p>The <dfn id="dom-document-selectedstylesheetset" title="dom-Document-selectedStyleSheetSet"><code>selectedStyleSheetSet</code></dfn> attribute, on getting, must run these steps:</p>
12601260
<ol>
1261-
<li><p>If there is a single <a href="#enabled-style-sheet-set">enabled style sheet set</a> and no
1262-
other <a href="#document-style-sheets">document style sheets</a> with a non-empty
1261+
<li><p>If there is a single <a href="#enabled-css-style-sheet-set">enabled CSS style sheet set</a> and no
1262+
other <a href="#document-css-style-sheets">document CSS style sheets</a> with a non-empty
12631263
<a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> have the
12641264
<a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> unset, return the
12651265
<span title="concept-css-style-sheet-set-name">set name</span> of the
1266-
<a href="#enabled-style-sheet-set">enabled style sheet set</a> and terminate these steps.</li>
1266+
<a href="#enabled-css-style-sheet-set">enabled CSS style sheet set</a> and terminate these steps.</li>
12671267

12681268
<li><p>Otherwise, if <a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> from
1269-
different <a href="#style-sheet-set" title="style sheet set">style sheet sets</a> have
1269+
different <a href="#css-style-sheet-set" title="CSS style sheet set">CSS style sheet sets</a> have
12701270
their <a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> unset, return
12711271
null and terminate these steps.</li>
12721272

@@ -1287,7 +1287,7 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>E
12871287

12881288
<ol>
12891289
<li><p>If the value is null terminate this set of steps.</li>
1290-
<li><p>Otherwise, <a href="#select-a-style-sheet-set">select a style sheet set</a> with as name the
1290+
<li><p>Otherwise, <a href="#select-a-css-style-sheet-set">select a CSS style sheet set</a> with as name the
12911291
value passed.</li>
12921292
</ol>
12931293

@@ -1300,26 +1300,26 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>E
13001300
must return and set the value for the default
13011301
view.</p>
13021302

1303-
<p>The <dfn id="dom-document-laststylesheetset" title="dom-Document-lastStyleSheetSet"><code>lastStyleSheetSet</code></dfn> attribute must return the <a href="#last-style-sheet-set-name">last style sheet set name</a>.</p>
1303+
<p>The <dfn id="dom-document-laststylesheetset" title="dom-Document-lastStyleSheetSet"><code>lastStyleSheetSet</code></dfn> attribute must return the <a href="#last-css-style-sheet-set-name">last CSS style sheet set name</a>.</p>
13041304
<p class="note">This attribute is initially null.</p>
13051305

1306-
<p>The <dfn id="dom-document-preferredstylesheetset" title="dom-Document-preferredStyleSheetSet"><code>preferredStyleSheetSet</code></dfn> attribute must return the <a href="#preferred-style-sheet-set-name">preferred style sheet set
1307-
name</a>.</p>
1306+
<p>The <dfn id="dom-document-preferredstylesheetset" title="dom-Document-preferredStyleSheetSet"><code>preferredStyleSheetSet</code></dfn> attribute must return the <span>preferred style sheet set
1307+
name</span>.</p>
13081308
<p class="note">Unlike <code title="dom-Document-lastStyleSheetSet"><a href="#dom-document-laststylesheetset">lastStyleSheetSet</a></code>,
13091309
this attribute is initially the empty string.</p>
13101310

13111311
<p>The <dfn id="dom-document-stylesheetsets" title="dom-Document-styleSheetSets"><code>styleSheetSets</code></dfn> attribute must return a read only array of the
1312-
<a href="#style-sheet-set-name" title="style sheet set name">style sheet set names</a> of the
1313-
<a href="#style-sheet-set" title="style sheet set">style sheet sets</a>, in order of the <a href="#document-style-sheets">document
1314-
style sheets</a>.</p>
1312+
<a href="#css-style-sheet-set-name" title="CSS style sheet set name">CSS style sheet set names</a> of the
1313+
<a href="#css-style-sheet-set" title="CSS style sheet set">CSS style sheet sets</a>, in order of the <span>document
1314+
style sheets</span>.</p>
13151315

13161316
<p>The <dfn id="dom-document-enablestylesheetsforset" title="dom-Document-enableStyleSheetsForSet"><code>enableStyleSheetsForSet(<var title="">name</var>)</code></dfn> method must, when invoked, run these
13171317
steps:</p>
13181318
<ol>
13191319
<li><p>If <var title="">name</var> is null terminate these steps.</li>
1320-
<li><p><a href="#enable-a-style-sheet-set">Enable a style sheet set</a> with name <var title="">name</var>.</li>
1320+
<li><p><a href="#enable-a-css-style-sheet-set">enable a CSS style sheet set</a> with name <var title="">name</var>.</li>
13211321
</ol>
1322-
<p class="note"><span title="Style sheet">Style sheets</span> with an
1322+
<p class="note"><a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> with an
13231323
empty <a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> are never affected by this method.
13241324
This method does not change the values of the
13251325
<code title="dom-Document-lastStyleSheetSet"><a href="#dom-document-laststylesheetset">lastStyleSheetSet</a></code> or
@@ -1340,7 +1340,7 @@ <h4 id="interaction-with-the-user-interface"><span class="secno">6.2.4 </span>In
13401340
is the empty string as well.</p>
13411341

13421342
<p>Selecting a style sheet from this list should
1343-
use the <a href="#select-a-style-sheet-set">select a style sheet set</a> set of steps. This
1343+
use the <a href="#select-a-css-style-sheet-set">select a CSS style sheet set</a> set of steps. This
13441344
(by definition) affects the
13451345
<code title="dom-Document-lastStyleSheetSet"><a href="#dom-document-laststylesheetset">lastStyleSheetSet</a></code>
13461346
attribute.</p>
@@ -1362,7 +1362,7 @@ <h5 id="persisting-the-selected-style-sheet-set"><span class="secno">6.2.4.1 </s
13621362
the document has been parsed, after any scripts that are not dependent on
13631363
computed style have executed), the style sheet set
13641364
should be set by using the
1365-
<a href="#select-a-style-sheet-set">select a style sheet set</a> set of steps as if the user had
1365+
<a href="#select-a-css-style-sheet-set">select a CSS style sheet set</a> set of steps as if the user had
13661366
selected the set manually.</p>
13671367

13681368
<p class="note">This specification does not give any suggestions on
@@ -1449,7 +1449,7 @@ <h3 id="style-sheet-association"><span class="secno">6.3 </span>Style Sheet Asso
14491449
<h4 id="the-linkstyle-interface"><span class="secno">6.3.1 </span>The <code title="">LinkStyle</code> Interface</h4>
14501450

14511451
<p>The <dfn id="associated-style-sheet">associated style sheet</dfn> of a node is the <a href="#css-style-sheet">CSS style sheet</a> in the list of
1452-
<a href="#document-style-sheets">document style sheets</a> of which the <a href="#concept-css-style-sheet-owner-node" title="concept-css-style-sheet-owner-node">owner node</a> implements the <code><a href="#linkstyle">LinkStyle</a></code>
1452+
<a href="#document-css-style-sheets">document CSS style sheets</a> of which the <a href="#concept-css-style-sheet-owner-node" title="concept-css-style-sheet-owner-node">owner node</a> implements the <code><a href="#linkstyle">LinkStyle</a></code>
14531453
interface.</p>
14541454

14551455
<pre class="idl">[NoInterfaceObject]

0 commit comments

Comments
 (0)