Skip to content

Commit 3bbd997

Browse files
authored
Merge pull request #1387 from SimonSapin/namespaces-terminology
[css-namespaces] Restore Terminology section
2 parents 0a77005 + 6d5c09e commit 3bbd997

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

css-namespaces/Overview.bs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,34 @@ Introduction</h2>
6161
rather than possibly match them incorrectly.
6262

6363

64+
<h3 id="terminology">
65+
Terminology</h3>
66+
67+
Besides terms introduced by this specification,
68+
CSS Namespaces uses the terminology defined in Namespaces in XML 1.0. [[!XML-NAMES]]
69+
However, the syntax defined here is not restricted to representing XML element and attribute names
70+
and may represent other kinds of namespaces as defined by the host language.
71+
72+
In CSS Namespaces a namespace name consisting of the empty string
73+
is taken to represent the null namespace
74+
or lack of a namespace.
75+
76+
<div class="example">
77+
For example, given the namespace declarations:
78+
79+
<pre>
80+
@namespace empty "";
81+
@namespace "";
82+
</pre>
83+
84+
The <a>type selectors</a>
85+
<code>elem</code>,
86+
<code>|elem</code>,
87+
and <code>empty|elem</code>
88+
are equivalent.
89+
</div>
90+
91+
6492
<h2 id="declaration">Declaring namespaces: the ''@namespace'' rule</h2>
6593

6694
The ''@namespace'' <a>at-rule</a> declares a namespace prefix

0 commit comments

Comments
 (0)