[whatwg] Incorrect declaration of the default namespace in user agent CSS
In the 10.2 The CSS user agent style sheet and presentational hints The declaration of the default namespace (to be applied to names that have no explicit namespace component) is incorrect: @namespace url(http://www.w3.org/1999/xhtml); Correct one should look like [1]: @namespace http://www.w3.org/1999/xhtml;; [1] http://www.w3.org/TR/css3-namespace/#declaration Sergey Ilinsky/
Re: [whatwg] Incorrect declaration of the default namespace in user agent CSS
On 19 Apr 2009, at 21:01, Sergey Ilinsky wrote: In the 10.2 The CSS user agent style sheet and presentational hints The declaration of the default namespace (to be applied to names that have no explicit namespace component) is incorrect: @namespace url(http://www.w3.org/1999/xhtml); Correct one should look like [1]: @namespace http://www.w3.org/1999/xhtml;; [1] http://www.w3.org/TR/css3-namespace/#declaration According to that document both are correct. -- Geoffrey Sneddon http://gsnedders.com/
Re: [whatwg] Incorrect declaration of the default namespace in user agent CSS
On Sun, 19 Apr 2009, Sergey Ilinsky wrote: In the 10.2 The CSS user agent style sheet and presentational hints The declaration of the default namespace (to be applied to names that have no explicit namespace component) is incorrect: @namespace url(http://www.w3.org/1999/xhtml); Correct one should look like [1]: @namespace http://www.w3.org/1999/xhtml;; [1] http://www.w3.org/TR/css3-namespace/#declaration As noted in the next section of that draft (3.1 Syntax), the use of the url() form is just as valid as the string form: # namespace # : NAMESPACE_SYM S* [namespace_prefix S*]? [STRING|URI] S* ';' S* -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'