| 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 // https://drafts.css-houdini.org/css-typed-om/#the-stylepropertymap |
| 5 [ | 6 [ |
| 6 Exposed=(Window,PaintWorklet), | 7 Exposed=(Window,PaintWorklet), |
| 7 RuntimeEnabled=CSSTypedOM, | 8 RuntimeEnabled=CSSTypedOM, |
| 8 ] interface StylePropertyMap { | 9 ] interface StylePropertyMap { |
| 9 [RaisesException] void append(DOMString property, (CSSStyleValue or sequence
<CSSStyleValue> or DOMString) value); | 10 [RaisesException] void append(DOMString property, (CSSStyleValue or sequence
<CSSStyleValue> or DOMString) value); |
| 10 [RaisesException, ImplementedAs=remove] void delete(DOMString property); | 11 [RaisesException, ImplementedAs=remove] void delete(DOMString property); |
| 11 [RaisesException] CSSStyleValue? get(DOMString property); | 12 [RaisesException] CSSStyleValue? get(DOMString property); |
| 12 [RaisesException] sequence<CSSStyleValue> getAll(DOMString property); | 13 [RaisesException] sequence<CSSStyleValue> getAll(DOMString property); |
| 13 [RaisesException] boolean has(DOMString property); | 14 [RaisesException] boolean has(DOMString property); |
| 14 [RaisesException] void set(DOMString property, (CSSStyleValue or sequence<CS
SStyleValue> or DOMString) value); | 15 [RaisesException] void set(DOMString property, (CSSStyleValue or sequence<CS
SStyleValue> or DOMString) value); |
| 15 iterable<DOMString, (CSSStyleValue or sequence<CSSStyleValue>)>; | 16 iterable<DOMString, (CSSStyleValue or sequence<CSSStyleValue>)>; |
| 16 sequence<DOMString> getProperties(); | 17 sequence<DOMString> getProperties(); |
| 17 }; | 18 }; |
| OLD | NEW |