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

Re: About dropping the style attribute

From: gonchuki <gonchuki@gmail.com>
Date: Mon, 25 Jun 2007 11:15:07 -0300
Message-ID: <8320a9390706250715q7e85b3dble1cf508b845475a0@mail.gmail.com>
To: public-html@w3.org

On 6/23/07, Patrick Garies <pgaries@fastmail.us> wrote:
> Craig Francis wrote:
> > Considering that most CSS files are not generated by a server side
> > scripting/programming language, how would you generate dynamic styles
> > without the @style attribute?
> DOM2 Style: http://www.w3.org/TR/DOM-Level-2-Style/
> http://dev.w3.org/cvsweb/~checkout~/csswg/cssom/Overview.html?content-type=text/html;%20charset=utf-8
> You can also use "document.createElement()" to generate "style" or
> "link" elements.

as for this, I guess it would be practical to deprecate the attibute
from the HTML side without deprecating it from the scripting side.
scripting *needs* to use the style attribute on specific elements
given it's dynamic nature, but i can't see why allowing further mixing
of content with presentation would help. AFAIK, deprecating doesn't
mean not supporting it's usage by UAs, but it gets more as
discouraging it's use amongst both authors and WYSIWYG tools.
Received on Monday, 25 June 2007 15:32:56 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:14 UTC