LibWeb/CSS: Expose a couple of types on PaintWorklet and LayoutWorklet

This has no actual effect, but it's nice to remove the FIXMEs.
This commit is contained in:
Sam Atkins 2025-08-14 11:13:02 +01:00 committed by Jelle Raaijmakers
commit 888cb038e8
Notes: github-actions[bot] 2025-08-15 07:22:28 +00:00
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,5 @@
// https://drafts.css-houdini.org/css-typed-om-1/#cssstylevalue
// FIXME: [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
[Exposed=(Window, Worker)]
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
interface CSSStyleValue {
stringifier;
[FIXME, Exposed=Window] static CSSStyleValue parse(USVString property, USVString cssText);

View file

@ -1,8 +1,7 @@
#import <CSS/CSSStyleValue.idl>
// https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymapreadonly
// FIXME: [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
[Exposed=(Window, Worker)]
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
interface StylePropertyMapReadOnly {
// FIXME: iterable<USVString, sequence<CSSStyleValue>>;
(undefined or CSSStyleValue) get(USVString property);