chromium/third_party/blink/renderer/core/css/cssom/style_property_map.idl

// Copyright 2016 The Chromium Authors
// 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, CallWith=ExecutionContext, ImplementedAs=remove] void delete(CSSOMString property);
    void clear();
};