blob: 847e13e89f99f55a2322b6cbba06fd2996ca1152 [file] [log] [blame]
// 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);
};