| 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 ] interface StylePropertyMap { | 7 ] interface StylePropertyMap { |
| 8 [RaisesException] void append(DOMString property, (StyleValue or sequence<St
yleValue> or DOMString) value); | 8 [RaisesException] void append(DOMString property, (CSSStyleValue or sequence
<CSSStyleValue> or DOMString) value); |
| 9 [RaisesException, ImplementedAs=remove] void delete(DOMString property); | 9 [RaisesException, ImplementedAs=remove] void delete(DOMString property); |
| 10 [RaisesException] StyleValue? get(DOMString property); | 10 [RaisesException] CSSStyleValue? get(DOMString property); |
| 11 [RaisesException] sequence<StyleValue> getAll(DOMString property); | 11 [RaisesException] sequence<CSSStyleValue> getAll(DOMString property); |
| 12 [RaisesException] boolean has(DOMString property); | 12 [RaisesException] boolean has(DOMString property); |
| 13 [RaisesException] void set(DOMString property, (StyleValue or sequence<Style
Value> or DOMString) value); | 13 [RaisesException] void set(DOMString property, (CSSStyleValue or sequence<CS
SStyleValue> or DOMString) value); |
| 14 iterable<DOMString, (StyleValue or sequence<StyleValue>)>; | 14 iterable<DOMString, (CSSStyleValue or sequence<CSSStyleValue>)>; |
| 15 sequence<DOMString> getProperties(); | 15 sequence<DOMString> getProperties(); |
| 16 }; | 16 }; |
| OLD | NEW |