| // 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(); |
| }; |