OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 Exposed=(Window,PaintWorklet), | 6 Exposed=(Window,PaintWorklet), |
7 RuntimeEnabled=CSSTypedOM, | 7 RuntimeEnabled=CSSTypedOM, |
8 ] interface CSSStyleValue { | 8 ] interface CSSStyleValue { |
9 readonly attribute DOMString cssString; | 9 readonly attribute DOMString cssText; |
10 // TODO(meade): Should be (CSSStyleValue or sequence<CSSStyleValue>)? instea
d of object?. Fix when the code generator supports this. | 10 // TODO(meade): Should be (CSSStyleValue or sequence<CSSStyleValue>)? instea
d of object?. Fix when the code generator supports this. |
11 [RaisesException, CallWith=ScriptState] static object? parse(DOMString prope
rty, DOMString cssText); | 11 [RaisesException, CallWith=ScriptState] static object? parse(DOMString prope
rty, DOMString cssText); |
12 }; | 12 }; |
OLD | NEW |