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.

-David

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:47:12 GMT