[Bug 27387] CSSStyleSheet rules, addRule, removeRule

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27387

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> ---
Yep, I added these use counters and was sad to see the results.

In Blink, removeRule is just an alias of deleteRule, so that's trivial.

addRule just does some concatenation and forwards to insertRule, so that's
fairly trivial too.

rules seems to be like cssRules, but it excludes @charset rules. If we can get
rid of @charset, it can presumably be made an alias of cssRules.

Data on how these are used in the wild would of course be great.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 24 November 2014 10:32:07 UTC