Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify associated CSS style sheet and owner node #3343

Merged
merged 3 commits into from
Nov 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cssom-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,10 @@ represents a style sheet as defined by the CSS specification. In the CSSOM a
Note: Changing the <a>media</a>'s {{MediaList/mediaText}} attribute does not
change the corresponding attribute on the <a for=CSSStyleSheet>owner node</a>.

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


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

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

<pre class=idl>
interface mixin LinkStyle {
Expand Down