From 888cb038e8969f89c1960ac476ea41e6cdbed2c9 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 14 Aug 2025 11:13:02 +0100 Subject: [PATCH] LibWeb/CSS: Expose a couple of types on PaintWorklet and LayoutWorklet This has no actual effect, but it's nice to remove the FIXMEs. --- Libraries/LibWeb/CSS/CSSStyleValue.idl | 3 +-- Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Libraries/LibWeb/CSS/CSSStyleValue.idl b/Libraries/LibWeb/CSS/CSSStyleValue.idl index e7ffddc8c66..b66fd270190 100644 --- a/Libraries/LibWeb/CSS/CSSStyleValue.idl +++ b/Libraries/LibWeb/CSS/CSSStyleValue.idl @@ -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); diff --git a/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl b/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl index bfbb84801b4..9fa428173ad 100644 --- a/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl +++ b/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl @@ -1,8 +1,7 @@ #import // 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>; (undefined or CSSStyleValue) get(USVString property);