OLD | NEW |
1 /* Copyright (C) 2012 Motorola Mobility Inc. All rights reserved. | 1 /* Copyright (C) 2012 Motorola Mobility Inc. All rights reserved. |
2 * | 2 * |
3 * Redistribution and use in source and binary forms, with or without | 3 * Redistribution and use in source and binary forms, with or without |
4 * modification, are permitted provided that the following conditions are | 4 * modification, are permitted provided that the following conditions are |
5 * met: | 5 * met: |
6 * | 6 * |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above | 9 * 2. Redistributions in binary form must reproduce the above |
10 * copyright notice, this list of conditions and the following disclaimer in | 10 * copyright notice, this list of conditions and the following disclaimer in |
(...skipping 14 matching lines...) Expand all Loading... |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 [ | 29 [ |
30 NoInterfaceObject | 30 NoInterfaceObject |
31 ] interface CSSSupportsRule : CSSRule { | 31 ] interface CSSSupportsRule : CSSRule { |
32 readonly attribute CSSRuleList cssRules; | 32 readonly attribute CSSRuleList cssRules; |
33 readonly attribute DOMString conditionText; | 33 readonly attribute DOMString conditionText; |
34 | 34 |
35 [RaisesException] unsigned long insertRule([Default=Undefined] optional DOMS
tring rule, | 35 [RaisesException] unsigned long insertRule(DOMString rule, unsigned long ind
ex); |
36 [Default=Undefined] optional unsigned long index); | 36 [RaisesException] void deleteRule(unsigned long index); |
37 [RaisesException] void deleteRule([Default=Undefined] optional unsigned long
index); | |
38 }; | 37 }; |
OLD | NEW |