OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 RuntimeEnabled=CSSTypedOM, | 6 RuntimeEnabled=CSSTypedOM, |
7 GarbageCollected | |
8 ] interface StylePropertyMap { | 7 ] interface StylePropertyMap { |
9 [RaisesException] void append(DOMString property, (StyleValue or sequence<St
yleValue> or DOMString) value); | 8 [RaisesException] void append(DOMString property, (StyleValue or sequence<St
yleValue> or DOMString) value); |
10 [RaisesException, ImplementedAs=remove] void delete(DOMString property); | 9 [RaisesException, ImplementedAs=remove] void delete(DOMString property); |
11 [RaisesException] StyleValue? get(DOMString property); | 10 [RaisesException] StyleValue? get(DOMString property); |
12 [RaisesException] sequence<StyleValue> getAll(DOMString property); | 11 [RaisesException] sequence<StyleValue> getAll(DOMString property); |
13 [RaisesException] boolean has(DOMString property); | 12 [RaisesException] boolean has(DOMString property); |
14 [RaisesException] void set(DOMString property, (StyleValue or sequence<Style
Value> or DOMString) value); | 13 [RaisesException] void set(DOMString property, (StyleValue or sequence<Style
Value> or DOMString) value); |
15 iterable<DOMString, (StyleValue or sequence<StyleValue>)>; | 14 iterable<DOMString, (StyleValue or sequence<StyleValue>)>; |
16 sequence<DOMString> getProperties(); | 15 sequence<DOMString> getProperties(); |
17 }; | 16 }; |
OLD | NEW |