OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface CSSStyleSheet extends StyleSheet { | 7 interface CSSStyleSheet extends StyleSheet { |
8 | 8 |
9 CSSRuleList get cssRules(); | 9 final CSSRuleList cssRules; |
10 | 10 |
11 CSSRule get ownerRule(); | 11 final CSSRule ownerRule; |
12 | 12 |
13 CSSRuleList get rules(); | 13 final CSSRuleList rules; |
14 | 14 |
15 int addRule(String selector, String style, [int index]); | 15 int addRule(String selector, String style, [int index]); |
16 | 16 |
17 void deleteRule(int index); | 17 void deleteRule(int index); |
18 | 18 |
19 int insertRule(String rule, int index); | 19 int insertRule(String rule, int index); |
20 | 20 |
21 void removeRule(int index); | 21 void removeRule(int index); |
22 } | 22 } |
OLD | NEW |