Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: third_party/WebKit/Source/core/css/cssom/StylePropertyMapReadonly.idl

Issue 2730633004: [CSS Typed OM] Rearrange StylePropertyMap classes to match the new spec. (Closed)
Patch Set: Remove spurious : Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
};

Powered by Google App Engine
This is Rietveld 408576698