Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.idl |
| diff --git a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.idl b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ee960f8bc3d4ed22d7ce62f9d811a86ca578d57a |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.idl |
| @@ -0,0 +1,17 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
|
Timothy Loh
2016/01/19 05:30:46
2016
meade_UTC10
2016/01/20 03:39:34
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +[ |
| + RuntimeEnabled=CSSTypedOM, |
| + GarbageCollected |
| +] interface StylePropertyMap { |
| + [RaisesException] void append(DOMString property, (StyleValue or sequence<StyleValue> or DOMString) value); |
| + [RaisesException, ImplementedAs=remove] void delete(DOMString property); |
| + StyleValue? get(DOMString property); |
| + sequence<StyleValue> getAll(DOMString property); |
| + boolean has(DOMString property); |
| + [RaisesException] void set(DOMString property, (StyleValue or sequence<StyleValue> or DOMString) value); |
| + iterable<DOMString, (StyleValue or sequence<StyleValue>)>; |
| + sequence<DOMString> getProperties(); |
| +}; |