Commit 789341f7 authored by Ian Kilpatrick's avatar Ian Kilpatrick Committed by Commit Bot

[typedom] Still expose CSSStyleValue and StylePropertyMapReadOnly to PaintWorklet

Reverts part of https://chromium-review.googlesource.com/c/chromium/src/+/920326

If TypedOM doesn't ship in 66 this means that we won't break paint
worklet. (We still need to expose these two classes).

Bug: 812432
Change-Id: I358d49fecdf2169911c72dac758a745067dd5c96
Reviewed-on: https://chromium-review.googlesource.com/924604
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: default avatarnainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537503}
parent 061a7203
......@@ -7,8 +7,7 @@
// base CSSStyleValues.
// Spec: https://drafts.css-houdini.org/css-typed-om/#stylevalue-objects
[
RuntimeEnabled=CSSTypedOM,
Exposed=(Window,PaintWorklet)
Exposed(Window CSSTypedOM,PaintWorklet CSSPaintAPI)
] interface CSSStyleValue {
stringifier;
// Putting Exposed=Window in the next line makes |parse| not exposed to PaintWorklet.
......
......@@ -3,8 +3,7 @@
// found in the LICENSE file.
[
RuntimeEnabled=CSSTypedOM,
Exposed=(Window,PaintWorklet)
Exposed(Window CSSTypedOM,PaintWorklet CSSPaintAPI)
] interface StylePropertyMapReadOnly {
[RaisesException] CSSStyleValue? get(DOMString property);
[RaisesException] sequence<CSSStyleValue> getAll(DOMString property);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment