| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 // WARNING: |
| 6 // This file contains documentation that is merged into the real source. |
| 7 // Do not make code changes here. |
| 8 |
| 9 /// @domName CSSStyleSheet |
| 10 interface CSSStyleSheet extends StyleSheet { |
| 11 |
| 12 /** @domName CSSStyleSheet.cssRules */ |
| 13 final CSSRuleList cssRules; |
| 14 |
| 15 /** @domName CSSStyleSheet.ownerRule */ |
| 16 final CSSRule ownerRule; |
| 17 |
| 18 /** @domName CSSStyleSheet.rules */ |
| 19 final CSSRuleList rules; |
| 20 |
| 21 /** @domName CSSStyleSheet.addRule */ |
| 22 int addRule(String selector, String style, [int index]); |
| 23 |
| 24 /** @domName CSSStyleSheet.deleteRule */ |
| 25 void deleteRule(int index); |
| 26 |
| 27 /** @domName CSSStyleSheet.insertRule */ |
| 28 int insertRule(String rule, int index); |
| 29 |
| 30 /** @domName CSSStyleSheet.removeRule */ |
| 31 void removeRule(int index); |
| 32 } |
| OLD | NEW |