File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -145,21 +145,13 @@ Terminology</h3>
145145<h3 id="syntax">
146146Syntax</h3>
147147
148- The syntax for the ''@namespace'' rule is as follows
149- (using the notation from the <a href="https://www.w3.org/TR/CSS21/grammar.html">Grammar appendix of CSS 2.1</a> [[!CSS21]] ):
148+ The syntax for the ''@namespace'' rule is:
150149
151150 <pre>
152- namespace
153- : NAMESPACE_SYM S* [namespace_prefix S*] ? [STRING|URI] S* ';' S*
154- ;
155- namespace_prefix
156- : IDENT
157- ;
158- </pre>
151+ @namespace <<namespace-prefix>> ? [ <<string>> | <<url>> ] ;
159152
160- with the new token:
161-
162- <pre> @{N}{A}{M}{E}{S}{P}{A}{C}{E} {return NAMESPACE_SYM;}</pre>
153+ <dfn><namespace-prefix></dfn> = <<ident>>
154+ </pre>
163155
164156 Any ''@namespace'' rules must follow all @charset and @import rules
165157 and precede all other non-ignored at-rules and style rules in a style sheet.
You can’t perform that action at this time.
0 commit comments