mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Add insertRule() and deleteRule() on CSSStyleSheet
This commit is contained in:
parent
c4b7cc863e
commit
1d20d75cb2
5 changed files with 160 additions and 10 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue