blob: 775ab0b0cb0d14de16fef1c013cad0c5cffbb295 [file] [log] [blame]
// 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();
};