This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
https://drafts.csswg.org/cssom/#dom-cssrule-csstext [[ On setting the cssText attribute these steps must be run: Let new rule be the returned value of parsing the value. If new rule is a syntax error, terminate this algorithm. If the type of new rule does not match the type of the current object throw an InvalidModificationError exception. Replace the current object with new rule. ]] In WebKit/Blink/Gecko/IE11 the setter exists but does nothing. Align with reality. http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3873
https://github.com/w3c/csswg-drafts/commit/9f8435ab9f8b2a6ab76e54d2cfd06bec4526ea5a