OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 14 matching lines...) Expand all Loading... |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 // http://dev.w3.org/csswg/css-animations/#interface-csskeyframesrule | 29 // http://dev.w3.org/csswg/css-animations/#interface-csskeyframesrule |
30 | 30 |
31 interface CSSKeyframesRule : CSSRule { | 31 interface CSSKeyframesRule : CSSRule { |
32 attribute DOMString name; | 32 attribute DOMString name; |
33 readonly attribute CSSRuleList cssRules; | 33 readonly attribute CSSRuleList cssRules; |
34 | 34 |
35 [ImplementedAs=insertRule, MeasureAs=CSSKeyframesRuleAppendRule] void append
Rule(DOMString rule); | 35 [MeasureAs=CSSKeyframesRuleAppendRule] void appendRule(DOMString rule); |
36 void deleteRule(DOMString select); | 36 void deleteRule(DOMString select); |
37 CSSKeyframeRule? findRule(DOMString select); | 37 CSSKeyframeRule? findRule(DOMString select); |
38 | 38 |
39 // Non-standard APIs | 39 // Non-standard APIs |
40 [ImplementedAs=item, NotEnumerable] getter CSSKeyframeRule (unsigned long in
dex); | 40 [ImplementedAs=item, NotEnumerable] getter CSSKeyframeRule (unsigned long in
dex); |
41 [DeprecateAs=CSSKeyframesRuleInsertRule] void insertRule(DOMString rule); | 41 [DeprecateAs=CSSKeyframesRuleInsertRule, ImplementedAs=appendRule] void inse
rtRule(DOMString rule); |
42 }; | 42 }; |
OLD | NEW |