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
<dd><p>The <aclass="external" href="http://url.spec.whatwg.org/#concept-absolute-url" title="concept-absolute-url">absolute URL</a> of the first request of the
867
+
<dd><p>Specified when created. The <aclass="external" href="http://url.spec.whatwg.org/#concept-absolute-url" title="concept-absolute-url">absolute URL</a> of the first request of the
868
868
<ahref="#css-style-sheet">CSS style sheet</a> or null if the <ahref="#css-style-sheet">CSS style sheet</a> was
869
-
embedded.</dd>
869
+
embedded. Does not change during the lifetime of the <ahref="#css-style-sheet">CSS style sheet</a>.</dd>
<dd><p>The <ahref="#css-rule">CSS rule</a> in the <ahref="#concept-css-style-sheet-parent" title="concept-css-style-sheet-parent">parent</a>
880
+
<dd><p>Specified when created. The <ahref="#css-rule">CSS rule</a> in the <ahref="#concept-css-style-sheet-parent" title="concept-css-style-sheet-parent">parent</a>
881
881
that caused the inclusion of the <ahref="#css-style-sheet">CSS style sheet</a> or null if
<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
890
+
<ahref="#create-a-medialist-object">create a <code>MediaList</code> object</a> steps for that string.</p>
<dd><p>Either set or clear. If it is set, the API allows reading and modifying of the <ahref="#concept-css-style-sheet-css-rules" title="concept-css-style-sheet-css-rules">CSS rules</a>.
940
+
<dd><p>Specified when created. Either set or clear. If it is set, the API allows reading and modifying of the <ahref="#concept-css-style-sheet-css-rules" title="concept-css-style-sheet-css-rules">CSS
941
+
rules</a>.
945
942
</dl>
946
943
947
-
<p>When you are to <ahref="#create-a-css-style-sheet">create a CSS style sheet</a> the above properties,
948
-
with the exception of <ahref="#concept-css-style-sheet-type" title="concept-css-style-sheet-type">type</a> and
949
-
<ahref="#concept-css-style-sheet-css-rules" title="concept-css-style-sheet-css-rules">CSS rules</a>, are to be set to
<p>The <dfnid="dom-stylesheet-href" title="dom-StyleSheet-href"><code>href</code></dfn> attribute must return the <ahref="#concept-css-style-sheet-location" title="concept-css-style-sheet-location">location</a> or null if
981
971
none.</p>
982
-
<pclass="XXX">What should the default value be if not known or specified upon creation? an empty string or null?</p>
983
972
984
973
<p>The <dfnid="dom-stylesheet-ownernode" title="dom-StyleSheet-ownerNode"><code>ownerNode</code></dfn> attribute must return the <ahref="#concept-css-style-sheet-owner-node" title="concept-css-style-sheet-owner-node">owner
<ahref="#concept-css-style-sheet-parent" title="concept-css-style-sheet-parent">parent</a> or null if there is none.</p>
989
978
990
979
<p>The <dfnid="dom-stylesheet-title" title="dom-StyleSheet-title"><code>title</code></dfn> attribute must return the <ahref="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> or null if
991
-
none.</p>
992
-
<pclass="XXX">What should the default value be if not known or specified upon creation? an empty string or null?</p>
980
+
<ahref="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> is the empty string.</p>
993
981
994
982
<p>The <dfnid="dom-stylesheet-media" title="dom-StyleSheet-media"><code>media</code></dfn> attribute must return the <ahref="#concept-css-style-sheet-media" title="concept-css-style-sheet-media">media</a>.</p>
995
-
<pclass="XXX">Should it be nullable?</p>
996
-
<pclass="XXX">Need to define a setter that implements the semantics of setting this attribute to a string representing a MediaList.</p>
997
983
998
984
<p>The <dfnid="dom-stylesheet-disabled" title="dom-StyleSheet-disabled"><code>disabled</code></dfn> attribute, on getting, must return true if the
<p>The <dfnid="dom-document-selectedstylesheetset" title="dom-Document-selectedStyleSheetSet"><code>selectedStyleSheetSet</code></dfn> attribute, on getting, must run these steps:</p>
1303
1289
<ol>
1304
1290
<li><p>If there is a single <ahref="#enabled-css-style-sheet-set">enabled CSS style sheet set</a> and no
1305
-
other <ahref="#document-css-style-sheets">document CSS style sheets</a> with a non-empty
1306
-
<ahref="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> have the
1291
+
other <ahref="#document-css-style-sheets">document CSS style sheets</a> with a
1292
+
<ahref="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a>that is not the empty string have the
1307
1293
<ahref="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> unset, return the
1308
1294
<ahref="#css-style-sheet-set-name">CSS style sheet set name</a> of the
1309
1295
<ahref="#enabled-css-style-sheet-set">enabled CSS style sheet set</a> and terminate these steps.</li>
<p>To <dfnid="parse-a-css-rule">parse a CSS rule</dfn> ...</p>
1762
1748
1763
-
<pclass="XXX">Should a rule be instantiated in OM if there is a parse error? To
1764
-
what extent should original (but non-valid) CSS text be captured in cssText?</p>
1765
-
1766
-
<p>To <dfnid="serialize-a-css-rule">serialize a CSS rule</dfn>, perform one of the following in accordance with the <ahref="#css-rule">CSS rule</a>'s <ahref="#concept-css-rule-type" title="concept-css-rule-type">type</a>:</p>
1749
+
<p>To <dfnid="serialize-a-css-rule">serialize a CSS rule</dfn>, perform one of the following in accordance with the <ahref="#css-rule">CSS rule</a>'s
<li><p>Insert <vartitle="">new rule</var> into <vartitle="">list</var> at the zero-indexed position <vartitle="">index</var>.<p></li>
1849
1833
<li><p>Return <vartitle="">index</var>.
1850
1834
</ol>
1851
-
<pclass="XXX">DOM-2 CSS specifies that a <code>NO_MODIFICATION_ALLOWED_ERR</code> exception is thrown
1852
-
if the style sheet is read-only. Are there any read-only style sheets?</p>
1853
1835
1854
1836
<p>To <dfnid="remove-a-css-rule">remove a CSS rule</dfn> from a CSS rule list <vartitle="">list</var> at index <vartitle="">index</var>, follow these steps:</p>
1855
1837
<ol>
@@ -2154,9 +2136,6 @@ <h3 id="css-declaration-blocks"><span class="secno">6.5 </span>CSS Declaration B
2154
2136
2155
2137
<p>To <dfnid="parse-a-css-declaration-block">parse a CSS declaration block</dfn> ...</p>
2156
2138
2157
-
<pclass="XXX">What should be captured in the cssText of a declaration block which fails
2158
-
to parse?</p>
2159
-
2160
2139
<p>To <dfnid="serialize-a-css-declaration-block">serialize a CSS declaration block</dfn>
2161
2140
represented by a <code>CSSStyleDeclarations</code> instance named <vartitle="">d</var>,
2162
2141
let <vartitle="">s</var> be the empty string, then run the steps below:</p>
0 commit comments