W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2009

[whatwg] Incorrect declaration of the default namespace in user agent CSS

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 19 Apr 2009 20:28:35 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0904192027240.10339@hixie.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 19 April 2009 13:28:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:11 UTC