W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: css with attribues

From: Patrick Garies <pgaries@fastmail.us>
Date: Wed, 16 Jan 2008 04:58:59 -0600
Message-ID: <478DE373.9060604@fastmail.us>
To: Christoph Päper <christoph.paeper@crissov.de>
CC: www-style@w3.org

Christoph Päper wrote:
>  OTOH one actually could make a CSS module or separate specification
>  that referenced most CSS modules (except Syntax, Selectors, Media
>  Queries ...). Providing XML-compatible attribute syntax and an
>  assigned namespace you could use inline styling in any dialect of
>  XML, without the need to introduce a |style|-like attribute. There
>  wouldn't be much cascading or stylesheets, though.
>  <html xmlns="http://www.w3.org/1999/xhtml"
>  xmlns:css="http://www.w3.org/2008/css"> <div css:float="left"
>  css:width="20em">
>  PS: Perhaps XML should have allowed multiple default namespaces,
>  where the author would have been responsible for making sure there
>  were no ambiguities or there would have been a rule for taking
>  precedence, but XML prefers clear distinction over human readability.

Wouldn’t it be simpler to just put the style attribute (and element?) in 
the XML namespace?
Received on Wednesday, 16 January 2008 10:59:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:57 GMT