From d9f24aaa453704b61b088994d7573570e8f5ff3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Sat, 21 Jul 2018 22:32:08 +0200 Subject: [PATCH] [css-layout-api][css-paint-api][css-properties-values-api] Use partial namespace CSS CSSOM and other CSS specs were updated in https://github.com/w3c/csswg-drafts/pull/437. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=29623. --- css-layout-api/Overview.bs | 2 +- css-paint-api/Overview.bs | 2 +- css-properties-values-api/Overview.bs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css-layout-api/Overview.bs b/css-layout-api/Overview.bs index 5ab942f3..eda70a1e 100644 --- a/css-layout-api/Overview.bs +++ b/css-layout-api/Overview.bs @@ -1369,7 +1369,7 @@ which are related to layout. The {{layoutWorklet}}'s worklet global scope type is {{LayoutWorkletGlobalScope}}.
-partial interface CSS {
+partial namespace CSS {
     [SameObject] readonly attribute Worklet layoutWorklet;
 };
 
diff --git a/css-paint-api/Overview.bs b/css-paint-api/Overview.bs index befd96b4..d1e22a70 100644 --- a/css-paint-api/Overview.bs +++ b/css-paint-api/Overview.bs @@ -90,7 +90,7 @@ which are related to painting. The {{paintWorklet}}'s worklet global scope type is {{PaintWorkletGlobalScope}}.
-partial interface CSS {
+partial namespace CSS {
     [SameObject] readonly attribute Worklet paintWorklet;
 };
 
diff --git a/css-properties-values-api/Overview.bs b/css-properties-values-api/Overview.bs index d9d7289f..60630194 100644 --- a/css-properties-values-api/Overview.bs +++ b/css-properties-values-api/Overview.bs @@ -72,8 +72,8 @@ dictionary PropertyDescriptor { DOMString initialValue; }; -partial interface CSS { - static void registerProperty(PropertyDescriptor descriptor); +partial namespace CSS { + void registerProperty(PropertyDescriptor descriptor); };