| // Copyright 2015 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 CSSStyleValue { |
| readonly attribute DOMString cssString; |
| // TODO(meade): Should be (CSSStyleValue or sequence<CSSStyleValue>)? instead of object?. Fix when the code generator supports this. |
| [RaisesException, CallWith=ScriptState] static object? parse(DOMString property, DOMString cssText); |
| }; |