| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 Exposed=(Window,PaintWorklet), | 6 Exposed=(Window,PaintWorklet), |
| 7 RuntimeEnabled=CSSTypedOM, | 7 RuntimeEnabled=CSSTypedOM, |
| 8 ] interface StylePropertyMap { | 8 ] interface StylePropertyMapReadonly { |
| 9 [RaisesException] void append(DOMString property, (CSSStyleValue or sequence
<CSSStyleValue> or DOMString) value); | |
| 10 [RaisesException, ImplementedAs=remove] void delete(DOMString property); | |
| 11 [RaisesException] CSSStyleValue? get(DOMString property); | 9 [RaisesException] CSSStyleValue? get(DOMString property); |
| 12 [RaisesException] sequence<CSSStyleValue> getAll(DOMString property); | 10 [RaisesException] sequence<CSSStyleValue> getAll(DOMString property); |
| 13 [RaisesException] boolean has(DOMString property); | 11 [RaisesException] boolean has(DOMString property); |
| 14 [RaisesException] void set(DOMString property, (CSSStyleValue or sequence<CS
SStyleValue> or DOMString) value); | |
| 15 iterable<DOMString, (CSSStyleValue or sequence<CSSStyleValue>)>; | 12 iterable<DOMString, (CSSStyleValue or sequence<CSSStyleValue>)>; |
| 16 sequence<DOMString> getProperties(); | 13 sequence<DOMString> getProperties(); |
| 17 }; | 14 }; |
| OLD | NEW |