Skip to content

Commit 5cb2170

Browse files
committed
[cssom] Add a note pointing out how title behaves in Shadow DOM.
Closes w3c#2646
1 parent 461368d commit 5cb2170

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cssom-1/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ spec:html; type:element; text:style
115115
spec:css-namespaces-3; type:dfn; text:namespace prefix
116116
spec:dom; type:interface; text:Document
117117
spec:dom; type:interface; text:DocumentOrShadowRoot
118+
spec:dom; type:dfn; text:in a document tree
118119
spec:html; type:dfn; text:ascii case-insensitive
119120
spec:html; type:dfn; text:case-sensitive
120121
spec:infra; type:dfn; text:list
@@ -820,6 +821,9 @@ represents a style sheet as defined by the CSS specification. In the CSSOM a
820821
<a>title</a> must be set to the value of that attribute. Whenever the attribute is set, changed or removed, the
821822
<a>title</a> must be set to the new value of the attribute, or to the empty string if the attribute is absent.
822823

824+
Note: HTML only <a href="https://html.spec.whatwg.org/#the-style-element:concept-css-style-sheet-title">specifies</a>
825+
<a>title</a> to be an attribute of the <a for=CSSStyleSheet>owner node</a>
826+
if the node is in <a>in a document tree</a>.
823827

824828

825829
<dt><dfn id=concept-css-style-sheet-alternate-flag>alternate flag</dfn>

0 commit comments

Comments
 (0)