aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/interfaces/css-properties-values-api.idl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/interfaces/css-properties-values-api.idl')
-rw-r--r--tests/wpt/web-platform-tests/interfaces/css-properties-values-api.idl16
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/wpt/web-platform-tests/interfaces/css-properties-values-api.idl b/tests/wpt/web-platform-tests/interfaces/css-properties-values-api.idl
index 4ba38970e30..ee444ebb29d 100644
--- a/tests/wpt/web-platform-tests/interfaces/css-properties-values-api.idl
+++ b/tests/wpt/web-platform-tests/interfaces/css-properties-values-api.idl
@@ -3,7 +3,7 @@
// (https://github.com/tidoust/reffy-reports)
// Source: CSS Properties and Values API Level 1 (https://drafts.css-houdini.org/css-properties-values-api-1/)
-dictionary PropertyDescriptor {
+dictionary PropertyDefinition {
required DOMString name;
DOMString syntax = "*";
required boolean inherits;
@@ -11,5 +11,17 @@ dictionary PropertyDescriptor {
};
partial namespace CSS {
- void registerProperty(PropertyDescriptor descriptor);
+ void registerProperty(PropertyDefinition definition);
+};
+
+partial interface CSSRule {
+ const unsigned short PROPERTY_RULE = 18;
+};
+
+[Exposed=Window]
+interface CSSPropertyRule : CSSRule {
+ readonly attribute CSSOMString name;
+ readonly attribute CSSOMString syntax;
+ readonly attribute boolean inherits;
+ readonly attribute CSSOMString? initialValue;
};