Add insertRule() and deleteRule() on CSSStyleSheet

This commit is contained in:
Manish Goregaokar 2016-11-15 15:41:29 -08:00
parent c4b7cc863e
commit 1d20d75cb2
5 changed files with 160 additions and 10 deletions

View file

@ -7,6 +7,6 @@
interface CSSStyleSheet : StyleSheet {
// readonly attribute CSSRule? ownerRule;
[SameObject] readonly attribute CSSRuleList cssRules;
// unsigned long insertRule(DOMString rule, unsigned long index);
// void deleteRule(unsigned long index);
[Throws] unsigned long insertRule(DOMString rule, unsigned long index);
[Throws] void deleteRule(unsigned long index);
};