OLD | NEW |
1 | 1 |
2 class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*C
SSStyleSheet" { | 2 class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*C
SSStyleSheet" { |
3 | 3 |
4 _CSSRuleListJs get cssRules() native "return this.cssRules;"; | 4 final _CSSRuleListJs cssRules; |
5 | 5 |
6 _CSSRuleJs get ownerRule() native "return this.ownerRule;"; | 6 final _CSSRuleJs ownerRule; |
7 | 7 |
8 _CSSRuleListJs get rules() native "return this.rules;"; | 8 final _CSSRuleListJs rules; |
9 | 9 |
10 int addRule(String selector, String style, [int index = null]) native; | 10 int addRule(String selector, String style, [int index = null]) native; |
11 | 11 |
12 void deleteRule(int index) native; | 12 void deleteRule(int index) native; |
13 | 13 |
14 int insertRule(String rule, int index) native; | 14 int insertRule(String rule, int index) native; |
15 | 15 |
16 void removeRule(int index) native; | 16 void removeRule(int index) native; |
17 } | 17 } |
OLD | NEW |