Skip to content

Commit 61535a3

Browse files
author
Simon Pieters
committed
[cssom] Fix xref issue for 'CSS style sheet'
1 parent ca7ec59 commit 61535a3

2 files changed

Lines changed: 64 additions & 64 deletions

File tree

cssom/Overview.html

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -836,36 +836,36 @@ <h3 id="css-style-sheets"><span class="secno">6.1 </span>CSS Style Sheets</h3>
836836

837837
<dt><dfn id="style-sheet-location">style sheet location</dfn></dt>
838838
<dd><p>The <a class="external" href="http://url.spec.whatwg.org/#concept-url" title="concept-url">URL</a> of the
839-
<span>style sheet</span> or null if the <span>style sheet</span> was
839+
<a href="#css-style-sheet">CSS style sheet</a> or null if the <a href="#css-style-sheet">CSS style sheet</a> was
840840
embedded.</dd>
841841

842842
<dt><dfn id="style-sheet-parent">style sheet parent</dfn></dt>
843-
<dd><p>The <span>style sheet</span> that is the parent of the
844-
<span>style sheet</span> or null if there is no associated parent.</dd>
843+
<dd><p>The <a href="#css-style-sheet">CSS style sheet</a> that is the parent of the
844+
<a href="#css-style-sheet">CSS style sheet</a> or null if there is no associated parent.</dd>
845845

846846
<dt><dfn id="style-sheet-owner-node">style sheet owner node</dfn></dt>
847-
<dd><p>The DOM node associated with the <span>style sheet</span> or
847+
<dd><p>The DOM node associated with the <a href="#css-style-sheet">CSS style sheet</a> or
848848
null if there is no associated DOM node.</dd>
849849

850850
<dt><dfn id="style-sheet-owner-css-rule">style sheet owner CSS rule</dfn></dt>
851851
<dd><p>The <a href="#css-rule">CSS rule</a> in the <a href="#style-sheet-parent">style sheet parent</a>
852-
that caused the inclusion of the <span>style sheet</span> or null if
852+
that caused the inclusion of the <a href="#css-style-sheet">CSS style sheet</a> or null if
853853
there is no associated rule.</dd>
854854

855855
<dt><dfn id="style-sheet-media">style sheet media</dfn></dt>
856856
<dd>
857857
<p>The <code><a href="#medialist">MediaList</a></code> object associated with the
858-
<span>style sheet</span>.</p>
858+
<a href="#css-style-sheet">CSS style sheet</a>.</p>
859859

860860
<p>If this property is set to a string run the
861861
<span>create a <code><a href="#medialist">MediaList</a></code> object</span> steps for that
862862
string and associate the returned object with the
863-
<span>style sheet</span>.</p>
863+
<a href="#css-style-sheet">CSS style sheet</a>.</p>
864864
</dd>
865865

866866
<dt><dfn id="style-sheet-title">style sheet title</dfn></dt>
867867
<dd>
868-
<p>The title of the <span>style sheet</span> or null if no title
868+
<p>The title of the <a href="#css-style-sheet">CSS style sheet</a> or null if no title
869869
is specified or is the empty string, in which case the title is referred to
870870
as an empty title.</p>
871871

@@ -903,13 +903,13 @@ <h3 id="css-style-sheets"><span class="secno">6.1 </span>CSS Style Sheets</h3>
903903
<p>Either set or clear. Clear by default.</p>
904904

905905
<p class="note">Even when clear it does not necessarily mean that the
906-
<span>style sheet</span> is actually used for rendering.</p>
906+
<a href="#css-style-sheet">CSS style sheet</a> is actually used for rendering.</p>
907907
</dd>
908908

909909

910910
<dt><dfn id="style-sheet-css-rules">style sheet CSS rules</dfn></dt>
911911
<dd><p>The <a href="#css-rule" title="CSS rule">CSS rules</a> associated with the
912-
<span>style sheet</span>.</dd>
912+
<a href="#css-style-sheet">CSS style sheet</a>.</dd>
913913
</dl>
914914

915915
<p>When you are to <a href="#create-a-style-sheet">create a style sheet</a> the above properties,
@@ -973,7 +973,7 @@ <h4 id="the-cssstylesheet-interface"><span class="secno">6.1.2 </span>The <code
973973
//
974974
-->
975975

976-
<p>The <code><a href="#cssstylesheet">CSSStyleSheet</a></code> interface represents a CSS <span>style sheet</span> rule.</p>
976+
<p>The <code><a href="#cssstylesheet">CSSStyleSheet</a></code> interface represents a CSS <a href="#css-style-sheet">CSS style sheet</a> rule.</p>
977977
<pre class="idl">interface <dfn id="cssstylesheet">CSSStyleSheet</dfn> : <a href="#stylesheet">StyleSheet</a> {
978978
readonly attribute <a href="#cssrule">CSSRule</a>? <a href="#dom-cssstylesheet-ownerrule" title="dom-CSSStyleSheet-ownerRule">ownerRule</a>;
979979
readonly attribute <a href="#cssrulelist">CSSRuleList</a> <a href="#dom-cssstylesheet-cssrules" title="dom-CSSStyleSheet-cssRules">cssRules</a>;
@@ -1016,18 +1016,18 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
10161016
steps:</p>
10171017

10181018
<ol>
1019-
<li><p>Create a new <span>style sheet</span> object and set its
1019+
<li><p>Create a new <a href="#css-style-sheet">CSS style sheet</a> object and set its
10201020
properties as specified.</li>
10211021

10221022
<li><p>Then run the <a href="#add-a-style-sheet">add a style sheet</a> steps for the newly
1023-
created <span>style sheet</span>.</li>
1023+
created <a href="#css-style-sheet">CSS style sheet</a>.</li>
10241024
</ol>
10251025

10261026
<p>To <dfn id="add-a-style-sheet">add a style sheet</dfn>, run these
10271027
steps:</p>
10281028

10291029
<ol>
1030-
<li><p>Add the <span>style sheet</span> to the list of
1030+
<li><p>Add the <a href="#css-style-sheet">CSS style sheet</a> to the list of
10311031
<a href="#document-style-sheets">document style sheets</a> at the appropriate location. The
10321032
remainder of these steps deal with the
10331033
<a href="#style-sheet-disabled-flag">style sheet disabled flag</a>.</li>
@@ -1061,7 +1061,7 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
10611061
</ol>
10621062

10631063
<p>A <dfn id="persistent-style-sheet">persistent style sheet</dfn> is a
1064-
<span>style sheet</span> from the <a href="#document-style-sheets">document style sheets</a>
1064+
<a href="#css-style-sheet">CSS style sheet</a> from the <a href="#document-style-sheets">document style sheets</a>
10651065
whose <a href="#style-sheet-title">style sheet title</a> is the empty string and whose
10661066
<a href="#style-sheet-alternate-flag">style sheet alternate flag</a> is clear.</p>
10671067

@@ -1075,19 +1075,19 @@ <h3 id="style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Coll
10751075
common.</p>
10761076

10771077
<p>An <dfn id="enabled-style-sheet-set">enabled style sheet set</dfn> is a
1078-
<a href="#style-sheet-set">style sheet set</a> of which each <span>style sheet</span> has
1078+
<a href="#style-sheet-set">style sheet set</a> of which each <a href="#css-style-sheet">CSS style sheet</a> has
10791079
its <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> clear.</p>
10801080

10811081
<p>To <dfn id="enable-a-style-sheet-set">enable a style sheet set</dfn>
10821082
with name <var title="">name</var>, run these steps:</p>
10831083

10841084
<ol>
10851085
<li><p>If <var title="">name</var> is the empty string, set the
1086-
<a href="#style-sheet-disabled-flag">style sheet disabled flag</a> for each <span>style sheet</span>
1086+
<a href="#style-sheet-disabled-flag">style sheet disabled flag</a> for each <a href="#css-style-sheet">CSS style sheet</a>
10871087
that is in a <a href="#style-sheet-set">style sheet set</a> and terminate these steps.</li>
10881088

10891089
<li><p>Clear the <a href="#style-sheet-disabled-flag">style sheet disabled flag</a> for each
1090-
<span>style sheet</span> in a <a href="#style-sheet-set">style sheet set</a> whose
1090+
<a href="#css-style-sheet">CSS style sheet</a> in a <a href="#style-sheet-set">style sheet set</a> whose
10911091
<a href="#style-sheet-set-name">style sheet set name</a> is a
10921092
<a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for
10931093
<var title="">name</var> and set it for all other
@@ -1168,7 +1168,7 @@ <h4 id="the-stylesheetlist-interface"><span class="secno">6.2.2 </span>The <code
11681168

11691169
<p>The object's <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of <span>style sheets</span> represented by the collection. If there are no such <span>style sheets</span>, then there are no <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>.
11701170

1171-
<p>The <dfn id="dom-stylesheetlist-item" title="dom-StyleSheetList-item"><code>item(<var title="">index</var>)</code></dfn> method must return the <var title="">index</var>th <span>style sheet</span> in the collection. If there is no <var title="">index</var>th object in the collection, then the method must return null.
1171+
<p>The <dfn id="dom-stylesheetlist-item" title="dom-StyleSheetList-item"><code>item(<var title="">index</var>)</code></dfn> method must return the <var title="">index</var>th <a href="#css-style-sheet">CSS style sheet</a> in the collection. If there is no <var title="">index</var>th object in the collection, then the method must return null.
11721172

11731173
<p>The <dfn id="dom-stylesheetlist-length" title="dom-StyleSheetList-length"><code>length</code></dfn> attribute must return the number of <span>style sheets</span> represented by the collection.
11741174

@@ -1409,7 +1409,7 @@ <h4 id="examples"><span class="secno">6.2.5 </span>Examples</h4>
14091409
<h3 id="style-sheet-association"><span class="secno">6.3 </span>Style Sheet Association</h3>
14101410

14111411
<p>This section defines the interface a
1412-
<a href="#style-sheet-owner-node">style sheet owner node</a> of a <span>style sheet</span> has to
1412+
<a href="#style-sheet-owner-node">style sheet owner node</a> of a <a href="#css-style-sheet">CSS style sheet</a> has to
14131413
implement and defines the requirements for
14141414
<a class="external" href="http://www.w3.org/TR/xml-stylesheet/#dt-xml-stylesheet" title="xml-stylesheet processing instruction">xml-stylesheet processing instructions</a>
14151415
and HTTP <code title="http-link">Link</code> headers when the link
@@ -1426,7 +1426,7 @@ <h3 id="style-sheet-association"><span class="secno">6.3 </span>Style Sheet Asso
14261426

14271427
<h4 id="the-linkstyle-interface"><span class="secno">6.3.1 </span>The <code title="">LinkStyle</code> Interface</h4>
14281428

1429-
<p>The <dfn id="associated-style-sheet">associated style sheet</dfn> of a node is the <span>style sheet</span> in the list of
1429+
<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
14301430
<a href="#document-style-sheets">document style sheets</a> of which the <a href="#style-sheet-owner-node">style sheet owner node</a> implements the <code><a href="#linkstyle">LinkStyle</a></code> interface.</p>
14311431

14321432
<pre class="idl">[NoInterfaceObject]
@@ -1462,7 +1462,7 @@ <h4 id="requirements-on-specifications"><span class="secno">6.3.2 </span>Require
14621462
<p>Specifications introducing new ways of associating style sheets through
14631463
the DOM should define which nodes implement the
14641464
<code><a href="#linkstyle">LinkStyle</a></code> interface. When doing so, they
1465-
must also define when a <span>style sheet</span> is
1465+
must also define when a <a href="#css-style-sheet">CSS style sheet</a> is
14661466
<a href="#create-a-style-sheet" title="create a style sheet">created</a>.</p>
14671467

14681468

@@ -1908,14 +1908,14 @@ <h4 id="the-cssimportrule-interface"><span class="secno">6.4.5 </span>The <code
19081908

19091909
<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> at-rule.</p>
19101910
<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>
1911-
attribute of the associated <span>style sheet</span>.</p>
1911+
attribute of the associated <a href="#css-style-sheet">CSS style sheet</a>.</p>
19121912

19131913
<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>
1914-
attribute of the associated <span>style sheet</span>.</p>
1914+
attribute of the associated <a href="#css-style-sheet">CSS style sheet</a>.</p>
19151915

1916-
<p>The <dfn id="dom-cssimportrule-stylesheet" title="dom-CSSImportRule-styleSheet"><code>styleSheet</code></dfn> attribute must return the associated <span>style sheet</span>.</p>
1916+
<p>The <dfn id="dom-cssimportrule-stylesheet" title="dom-CSSImportRule-styleSheet"><code>styleSheet</code></dfn> attribute must return the associated <a href="#css-style-sheet">CSS style sheet</a>.</p>
19171917
<p class="note">If loading of the style sheet fails its <code title="dom-CSSStyleSheet-cssRules"><a href="#dom-cssstylesheet-cssrules">cssRules</a></code>
1918-
list is simply empty, i.e., an <code>@import</code> at-rule always has an associated <span>style sheet</span>.</p>
1918+
list is simply empty, i.e., an <code>@import</code> at-rule always has an associated <a href="#css-style-sheet">CSS style sheet</a>.</p>
19191919

19201920

19211921
<h4 id="the-cssmediarule-interface"><span class="secno">6.4.6 </span>The <code title="">CSSMediaRule</code> Interface</h4>
@@ -1993,9 +1993,9 @@ <h4 id="the-cssnamespacerule-interface"><span class="secno">6.4.9 </span>The <co
19931993
<p>On setting, the <code title="dom-CSSNamespaceRule-namespaceURI"><a href="#dom-cssnamespacerule-namespaceuri">namespaceURI</a></code> attribute must run the following steps:</p>
19941994

19951995
<ol>
1996-
<li><p>Let <var title="">style sheet</var> be the value returned by <code title="dom-CSSRule-parentStyleSheet"><a href="#dom-cssrule-parentstylesheet">parentStyleSheet</a></code>.
1997-
<li><p>Let <var title="">list</var> be the value returned by <code title="dom-CSSStyleSheet-cssRules"><a href="#dom-cssstylesheet-cssrules">cssRules</a></code> of <var title="">style sheet</var>, or
1998-
null if <var title="">style sheet</var> is null.
1996+
<li><p>Let <var title="">CSS style sheet</var> be the value returned by <code title="dom-CSSRule-parentStyleSheet"><a href="#dom-cssrule-parentstylesheet">parentStyleSheet</a></code>.
1997+
<li><p>Let <var title="">list</var> be the value returned by <code title="dom-CSSStyleSheet-cssRules"><a href="#dom-cssstylesheet-cssrules">cssRules</a></code> of <var title="">CSS style sheet</var>, or
1998+
null if <var title="">CSS style sheet</var> is null.
19991999
<li><p>If <var title="">list</var> is not null and contains anything other than
20002000
<code title="">@charset</code> at-rules, <code title="">@import</code> at-rules, and <code title="">@namespace</code> at-rules,
20012001
<a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> an <code class="external"><a href="http://dom.spec.whatwg.org/#invalidstateerror">InvalidStateError</a></code> exception.
@@ -2008,9 +2008,9 @@ <h4 id="the-cssnamespacerule-interface"><span class="secno">6.4.9 </span>The <co
20082008
<p>On setting, the <code title="dom-CSSNamespaceRule-prefix"><a href="#dom-cssnamespacerule-prefix">prefix</a></code> attribute must run the following steps:</p>
20092009

20102010
<ol>
2011-
<li><p>Let <var title="">style sheet</var> be the value returned by <code title="dom-CSSRule-parentStyleSheet"><a href="#dom-cssrule-parentstylesheet">parentStyleSheet</a></code>.
2012-
<li><p>Let <var title="">list</var> be the value returned by <code title="dom-CSSStyleSheet-cssRules"><a href="#dom-cssstylesheet-cssrules">cssRules</a></code> of <var title="">style sheet</var>, or
2013-
null if <var title="">style sheet</var> is null.
2011+
<li><p>Let <var title="">CSS style sheet</var> be the value returned by <code title="dom-CSSRule-parentStyleSheet"><a href="#dom-cssrule-parentstylesheet">parentStyleSheet</a></code>.
2012+
<li><p>Let <var title="">list</var> be the value returned by <code title="dom-CSSStyleSheet-cssRules"><a href="#dom-cssstylesheet-cssrules">cssRules</a></code> of <var title="">CSS style sheet</var>, or
2013+
null if <var title="">CSS style sheet</var> is null.
20142014
<li><p>If <var title="">list</var> is not null and contains anything other than
20152015
<code title="">@charset</code> at-rules, <code title="">@import</code> at-rules, and <code title="">@namespace</code> at-rules,
20162016
<a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> an <code class="external"><a href="http://dom.spec.whatwg.org/#invalidstateerror">InvalidStateError</a></code> exception.

0 commit comments

Comments
 (0)