diff --git a/css-conditional/Overview.bs b/css-conditional/Overview.bs
index 45869d270bc..c67c8446104 100644
--- a/css-conditional/Overview.bs
+++ b/css-conditional/Overview.bs
@@ -997,9 +997,9 @@ The CSS
interface, and the supports()
functio
The {{CSS}} interface holds useful CSS-related functions that do not belong elsewhere.
-partial interface CSS { - static boolean supports(DOMString property, DOMString value); - static boolean supports(DOMString conditionText); +partial namespace CSS { + boolean supports(DOMString property, DOMString value); + boolean supports(DOMString conditionText); };diff --git a/css-images-4/Overview.bs b/css-images-4/Overview.bs index f6a797d27dc..c369260422a 100644 --- a/css-images-4/Overview.bs +++ b/css-images-4/Overview.bs @@ -401,11 +401,13 @@ Using Out-Of-Document Sources: the
ElementSources
interface
The elementSources Map object provides this.
- partial interface CSS { - [SameObject] readonly attribute Map elementSources; + partial namespace CSS { + // [SameObject] readonly attribute Map elementSources; };+ Issue(428): IDL namespaces don't support attributes yet. + Any entries in the elementSources map with a string key and a value that is an object providing a paint source are made available to the ''element()'' function. @@ -573,7 +575,7 @@ Gradients
background: repeating-conic-gradient(gold, #f06 20deg);- +
background: repeating-conic-gradient(black 0deg 25%, white 0deg 50%); background-size: 60px 60px; @@ -845,7 +847,7 @@ Gradient Color-Stops T: , N:- +
Are lengths useful in <CSS.escape()
Method {#the-css.escape()-method}
------------------------------------------------------
-The CSS
interface holds useful CSS-related functions that do not belong elsewhere.
+The CSS
namespace holds useful CSS-related functions that do not belong elsewhere.
-interface CSS {
- static DOMString escape(DOMString ident);
+namespace CSS {
+ DOMString escape(DOMString ident);
};
-The escape(ident) method must return the result of invoking serialize an identifier of
+The escape(ident) operation must return the result of invoking serialize an identifier of
ident.
var element = document.querySelector('a[href="#' + CSS.escape(fragment) + '"]');
Document
.