W3C home > Mailing lists > Public > www-style@w3.org > December 2009

Re: [css-style-attr] New Editor's Draft

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 11 Dec 2009 13:05:28 -0800
To: fantasai <fantasai.lists@inkedblade.net>
Cc: Giovanni Campagna <scampa.giovanni@gmail.com>, Brad Kemper <brad.kemper@gmail.com>, www-style@w3.org
Message-ID: <20091211210528.GA20949@pickering.dbaron.org>
On Friday 2009-12-11 12:56 -0800, fantasai wrote:
> A "style" attribute does not need to be named 'style'. It's possible
> to have <elem style1="..." style2="..."/> and have the document language
> define both style1 and style2 as "style" attributes.
> I can add a sentence saying that if a document language allows this,
> it must specify in which order the attributes' values are concatenated.

If a language allows this, they should be separate style rules, not
string-concatenated and parsed as one style rule.  (This affects
error handling, comments, etc.)

However, I think it would also be fine to say that conforming
document languages cannot allow such a situation.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Friday, 11 December 2009 21:06:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:41 UTC