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>The <dfnid="dom-cssstylesheet-cssrules" title="dom-CSSStyleSheet-cssRules"><code>cssRules</code></dfn> attribute must return a read-only, live <code><ahref="#cssrulelist">CSSRuleList</a></code> object representing the <ahref="#style-sheet-css-rules">style
988
988
sheet CSS rules</a>. The same object must be returned on each get access.</p>
989
989
<pclass="note">Even though the returned <code><ahref="#cssrulelist">CSSRuleList</a></code> object is read-only (from the perspective of
990
-
client-authored script), it may nevertheless change over time due to its liveness status. For example, invoking
991
-
the <code>insertRule</code> or <code>deleteRule</code>operation may result in mutations reflected in the returned object.</p>
990
+
client-authored script), it can nevertheless change over time due to its liveness status. For example, invoking
991
+
the <codetitle="dom-CSSStyleSheet-insertRule"><ahref="#dom-cssstylesheet-insertrule">insertRule()</a></code> or <codetitle="dom-CSSStyleSheet-deleteRule"><ahref="#dom-cssstylesheet-deleterule">deleteRule()</a></code>methods can result in mutations reflected in the returned object.</p>
992
992
993
993
<p>The <dfnid="dom-cssstylesheet-insertrule" title="dom-CSSStyleSheet-insertRule"><code>insertRule(<var>rule</var>, <var>index</var>)</code></dfn> method performs <dfnid="insert-a-css-rule">insert a CSS rule</dfn><var>rule</var> as follows:</p>
<p>The <dfntitle=dom-CSSStyleSheet-cssRules><code>cssRules</code></dfn> attribute must return a read-only, live <code>CSSRuleList</code> object representing the <span>style
918
918
sheet CSS rules</span>. The same object must be returned on each get access.</p>
919
919
<pclass='note'>Even though the returned <code>CSSRuleList</code> object is read-only (from the perspective of
920
-
client-authored script), it may nevertheless change over time due to its liveness status. For example, invoking
921
-
the <code>insertRule</code> or <code>deleteRule</code>operation may result in mutations reflected in the returned object.</p>
920
+
client-authored script), it can nevertheless change over time due to its liveness status. For example, invoking
921
+
the <codetitle=dom-CSSStyleSheet-insertRule>insertRule()</code> or <codetitle=dom-CSSStyleSheet-deleteRule>deleteRule()</code>methods can result in mutations reflected in the returned object.</p>
922
922
923
923
<p>The <dfntitle=dom-CSSStyleSheet-insertRule><code>insertRule(<var>rule</var>, <var>index</var>)</code></dfn> method performs <dfn>insert a CSS rule</dfn><var>rule</var> as follows:</p>
0 commit comments