You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>If this property is specified to a string, the <ahref="#concept-css-style-sheet-media" title="concept-css-style-sheet-media">media</a> must be set to the return value of invoking
840
831
<ahref="#create-a-medialist-object">create a <code>MediaList</code> object</a> steps for that string.</p>
832
+
833
+
<p>If this property is specified to an attribute of the <ahref="#concept-css-style-sheet-owner-node" title="concept-css-style-sheet-owner-node">owner node</a>, the
834
+
<ahref="#concept-css-style-sheet-media" title="concept-css-style-sheet-media">media</a> must be set to the return value of invoking <ahref="#create-a-medialist-object">create a <code>MediaList</code> object</a> steps
835
+
for the value of that attribute. Whenever the attribute is set, changed or removed, the <ahref="#concept-css-style-sheet-media" title="concept-css-style-sheet-media">media</a>'s
836
+
<codetitle="dom-MediaList-mediaText"><ahref="#dom-medialist-mediatext">mediaText</a></code> attribute must be set to the new value of the attribute, or to null if the attribute is absent.
837
+
838
+
<pclass="note">Changing the <ahref="#concept-css-style-sheet-media" title="concept-css-style-sheet-media">media</a>'s <codetitle="dom-MediaList-mediaText"><ahref="#dom-medialist-mediatext">mediaText</a></code> attribute does not
839
+
change the corresponding attribute on the <ahref="#concept-css-style-sheet-owner-node" title="concept-css-style-sheet-owner-node">owner node</a>.
<p>If this property is specified to an attribute of the <ahref="#concept-css-style-sheet-owner-node" title="concept-css-style-sheet-owner-node">owner node</a>, the
861
+
<ahref="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> must be set to the value of that attribute. Whenever the attribute is set, changed or removed, the
862
+
<ahref="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> must be set to the new value of the attribute, or to the empty string if the attribute is absent.
Copy file name to clipboardExpand all lines: cssom/Overview.src.html
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -750,6 +750,14 @@ <h3>CSS Style Sheets</h3>
750
750
751
751
<p>If this property is specified to a string, the <spantitle=concept-css-style-sheet-media>media</span> must be set to the return value of invoking
752
752
<span>create a <code>MediaList</code> object</span> steps for that string.</p>
753
+
754
+
<p>If this property is specified to an attribute of the <spantitle=concept-css-style-sheet-owner-node>owner node</span>, the
755
+
<spantitle=concept-css-style-sheet-media>media</span> must be set to the return value of invoking <span>create a <code>MediaList</code> object</span> steps
756
+
for the value of that attribute. Whenever the attribute is set, changed or removed, the <spantitle=concept-css-style-sheet-media>media</span>'s
757
+
<codetitle=dom-MediaList-mediaText>mediaText</code> attribute must be set to the new value of the attribute, or to null if the attribute is absent.
758
+
759
+
<pclass=note>Changing the <spantitle=concept-css-style-sheet-media>media</span>'s <codetitle=dom-MediaList-mediaText>mediaText</code> attribute does not
760
+
change the corresponding attribute on the <spantitle=concept-css-style-sheet-owner-node>owner node</span>.
<p>If this property is specified to an attribute of the <spantitle=concept-css-style-sheet-owner-node>owner node</span>, the
782
+
<spantitle=concept-css-style-sheet-title>title</span> must be set to the value of that attribute. Whenever the attribute is set, changed or removed, the
783
+
<spantitle=concept-css-style-sheet-title>title</span> must be set to the new value of the attribute, or to the empty string if the attribute is absent.
0 commit comments