Index: third_party/WebKit/Source/core/css/cssom/StylePropertyMapReadonly.idl |
diff --git a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.idl b/third_party/WebKit/Source/core/css/cssom/StylePropertyMapReadonly.idl |
similarity index 54% |
copy from third_party/WebKit/Source/core/css/cssom/StylePropertyMap.idl |
copy to third_party/WebKit/Source/core/css/cssom/StylePropertyMapReadonly.idl |
index 12ac4a49ee03113c14d070329bc6d2524ff7c110..3237e0b4b7d9e5f9c9ef3733f5aacaad6f4ca2b7 100644 |
--- a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.idl |
+++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMapReadonly.idl |
@@ -1,17 +1,14 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Copyright 2017 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. |
[ |
Exposed=(Window,PaintWorklet), |
RuntimeEnabled=CSSTypedOM, |
-] interface StylePropertyMap { |
- [RaisesException] void append(DOMString property, (CSSStyleValue or sequence<CSSStyleValue> or DOMString) value); |
- [RaisesException, ImplementedAs=remove] void delete(DOMString property); |
+] interface StylePropertyMapReadonly { |
[RaisesException] CSSStyleValue? get(DOMString property); |
[RaisesException] sequence<CSSStyleValue> getAll(DOMString property); |
[RaisesException] boolean has(DOMString property); |
- [RaisesException] void set(DOMString property, (CSSStyleValue or sequence<CSSStyleValue> or DOMString) value); |
iterable<DOMString, (CSSStyleValue or sequence<CSSStyleValue>)>; |
sequence<DOMString> getProperties(); |
}; |