aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CSS.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/CSS.webidl')
-rw-r--r--components/script/dom/webidls/CSS.webidl7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/script/dom/webidls/CSS.webidl b/components/script/dom/webidls/CSS.webidl
index 5f4aa4f0bef..15049ae7539 100644
--- a/components/script/dom/webidls/CSS.webidl
+++ b/components/script/dom/webidls/CSS.webidl
@@ -1,6 +1,6 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* The origin of this IDL file is
* http://dev.w3.org/csswg/cssom/#the-css-interface
@@ -17,3 +17,8 @@ partial interface CSS {
static boolean supports(DOMString property, DOMString value);
static boolean supports(DOMString conditionText);
};
+
+// https://drafts.css-houdini.org/css-paint-api-1/#paint-worklet
+partial interface CSS {
+ [SameObject, Pref="dom.worklet.enabled"] static readonly attribute Worklet paintWorklet;
+};