Skip to content

Commit 39ce54e

Browse files
authored
Merge pull request #3343 from domfarolino/clarify-associated-sheet
Clarify associated CSS style sheet and owner node
2 parents 7b7bd57 + dfcdf8e commit 39ce54e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cssom-1/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,10 @@ represents a style sheet as defined by the CSS specification. In the CSSOM a
789789
Note: Changing the <a>media</a>'s {{MediaList/mediaText}} attribute does not
790790
change the corresponding attribute on the <a for=CSSStyleSheet>owner node</a>.
791791

792+
Note: The <a for=CSSStyleSheet>owner node</a> of a <a>CSS style sheet</a>, if non-null, is the node whose <a>associated
793+
CSS style sheet</a> is the <a>CSS style sheet</a> in question, when the <a>CSS style sheet</a> is <a
794+
lt="add a CSS style sheet">added</a>.
795+
792796

793797
<dt><dfn id=concept-css-style-sheet-title>title</dfn>
794798
<dd>
@@ -1200,8 +1204,8 @@ To <dfn export>fetch a CSS style sheet</dfn> with parsed URL <var>parsed URL</va
12001204
### The {{LinkStyle}} Interface ### {#the-linkstyle-interface}
12011205

12021206
The <dfn export>associated CSS style sheet</dfn> of a node is the <a>CSS style sheet</a> in the list of
1203-
<a>document or shadow root CSS style sheets</a> of which the <a for=CSSStyleSheet>owner node</a> implements the {{LinkStyle}}
1204-
interface.
1207+
<a>document or shadow root CSS style sheets</a> of which the <a for=CSSStyleSheet>owner node</a> is said node.
1208+
This node must also implement the {{LinkStyle}} interface.
12051209

12061210
<pre class=idl>
12071211
interface mixin LinkStyle {

0 commit comments

Comments
 (0)