| Index: core/css/cssom/StylePropertyMap.idl
|
| diff --git a/core/css/cssom/StylePropertyMap.idl b/core/css/cssom/StylePropertyMap.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..17d3945065a37198d9b0abd1b1401d1243079a6e
|
| --- /dev/null
|
| +++ b/core/css/cssom/StylePropertyMap.idl
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// 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();
|
| +};
|
|
|