From 6d5c09e16584f01153b6017aeb50e44ba6a91f50 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 17 May 2017 11:42:54 +0200 Subject: [PATCH] [css-namespaces] Restore Terminology section It was removed in https://github.com/w3c/csswg-drafts/commit/23f06fe37e7185bd44e8408cd533b2f5110ad586, presumably accidentally. It includes a normative statements that was missing for the ED: > In CSS Namespaces a namespace name consisting of the empty string > is taken to represent the null namespace or lack of a namespace. --- css-namespaces/Overview.bs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/css-namespaces/Overview.bs b/css-namespaces/Overview.bs index be6cb6f254f..ed73df04e97 100644 --- a/css-namespaces/Overview.bs +++ b/css-namespaces/Overview.bs @@ -61,6 +61,34 @@ Introduction rather than possibly match them incorrectly. +

+Terminology

+ + Besides terms introduced by this specification, + CSS Namespaces uses the terminology defined in Namespaces in XML 1.0. [[!XML-NAMES]] + However, the syntax defined here is not restricted to representing XML element and attribute names + and may represent other kinds of namespaces as defined by the host language. + + In CSS Namespaces a namespace name consisting of the empty string + is taken to represent the null namespace + or lack of a namespace. + +
+ For example, given the namespace declarations: + +
+			@namespace empty "";
+			@namespace "";
+		
+ + The type selectors + elem, + |elem, + and empty|elem + are equivalent. +
+ +

Declaring namespaces: the ''@namespace'' rule

The ''@namespace'' at-rule declares a namespace prefix