OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 [ |
| 6 RuntimeEnabled=CSSTypedOM, |
| 7 GarbageCollected |
| 8 ] interface StylePropertyMap { |
| 9 [RaisesException] void append(DOMString property, (StyleValue or sequence<St
yleValue> or DOMString) value); |
| 10 [RaisesException, ImplementedAs=remove] void delete(DOMString property); |
| 11 StyleValue? get(DOMString property); |
| 12 sequence<StyleValue> getAll(DOMString property); |
| 13 boolean has(DOMString property); |
| 14 [RaisesException] void set(DOMString property, (StyleValue or sequence<Style
Value> or DOMString) value); |
| 15 iterable<DOMString, (StyleValue or sequence<StyleValue>)>; |
| 16 sequence<DOMString> getProperties(); |
| 17 }; |
OLD | NEW |