Skip to content

Commit 9f8435a

Browse files
committed
[cssom] Reflect reality: CSSRule#cssText setter does nothing
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=29433.
1 parent e87e1a7 commit 9f8435a

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

cssom/Overview.bs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,16 +1848,7 @@ obsolete by this specification. This value will not be re-allocated in the futur
18481848

18491849
The <dfn attribute for=CSSRule>cssText</dfn> attribute must return a <a lt="serialize a CSS rule">serialization</a> of the
18501850
<a for=/>CSS rule</a>.
1851-
On setting the {{CSSRule/cssText}} attribute these steps must be run:
1852-
<ol>
1853-
<li>Let <var>new rule</var> be the returned value of <a lt="parse a CSS rule">parsing</a> the value.
1854-
<li>If <var>new rule</var> is a syntax error, terminate this algorithm.
1855-
<li>If the <a for=CSSRule>type</a> of <var>new rule</var> does not match the <a for=CSSRule>type</a> of
1856-
the current object
1857-
<a>throw</a> an
1858-
{{InvalidModificationError}} exception.
1859-
<li>Replace the current object with <var>new rule</var>.
1860-
</ol>
1851+
On setting the {{CSSRule/cssText}} attribute must do nothing.
18611852

18621853
The <dfn attribute for=CSSRule>parentRule</dfn> attribute must return the <a for=CSSRule>parent CSS
18631854
rule</a>.

0 commit comments

Comments
 (0)