W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: About dropping the style attribute

From: Sam Ruby <rubys@us.ibm.com>
Date: Sun, 24 Jun 2007 15:42:38 -0400
Message-ID: <467EC92E.4060501@us.ibm.com>
To: Anne van Kesteren <annevk@opera.com>
CC: HTML WG <public-html@w3.org>

Anne van Kesteren wrote:
> 
> On Sun, 24 Jun 2007 11:15:01 +0200, HÃ¥kon Wium Lie <howcome@opera.com> 
> wrote:
>> Also sprach Craig Francis:
>> The style element, when scoped to its parent, will be able to do this
>> -- and more -- but it is more verbose.
> 
> The problem with the style= attribute, as opposed to the <style> 
> element. Is that it encourages media specific style sheets. As the media 
> for the style= attribute is automatically "all". It also does not allow 
> for alternate style sheets. The <style> element in HTML5 handles both. 
> Having said that, I don't really care strongly either way.

One use case for style attributes is syndication.  Here's an example:

http://en.wikipedia.org/w/index.php?title=HTML_5&action=history&feed=atom

- Sam Ruby
Received on Sunday, 24 June 2007 19:43:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:01 GMT