summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/css/cssom/style_property_map.idl
blob: 775ab0b0cb0d14de16fef1c013cad0c5cffbb295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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.

// https://drafts.css-houdini.org/css-typed-om/#the-stylepropertymap

[
    Exposed=(Window)
] interface StylePropertyMap : StylePropertyMapReadOnly {
    // TODO(https://crbug.com/838890): DOMString should be CSSOMString
    [RaisesException, CallWith=ExecutionContext] void set(CSSOMString property, (CSSStyleValue or DOMString)... values);
    [RaisesException, CallWith=ExecutionContext] void append(CSSOMString property, (CSSStyleValue or DOMString)... values);
    [RaisesException, ImplementedAs=remove] void delete(CSSOMString property);
    void clear();
};