Re: CSS Namespaces: Need multiple namespaces!

Ian Hickson wrote:
> 
> In the CSS3 namespace draft, a namespace prefix can be associated with
> only a single namespace at a time.
> 
> This is very, very limiting. For example, in the UA stylesheet of a UA
> supporting HTML4 and XHTML, each element would need six entries!
> 
>    @namespace html4-strict url(...);
>    @namespace html4-transitional url(...);
>    @namespace html4-frameset url(...);
>    @namespace xhtml4-strict url(...);
>    @namespace xhtml4-transitional url(...);
>    @namespace xhtml4-frameset url(...);

Well HTML is written in SGML (allegedly) not XML so has no XML
namespace. That gets rid of three of these; if the HTML WG would kindly
give XHTML one namespace then it would be possible to have justa single
declaration to cover XHTML.

People are likely to need somewhat different style sheets for XHTML and
for HTML in any case, because of limitations and constraints on HTML
processing (certain elements are always block, always have 40px left
margin, and so on) whcj do not (should not) apply to XHTML.

--
Chris

Received on Wednesday, 29 September 1999 13:28:08 UTC