- From: gonchuki <gonchuki@gmail.com>
- Date: Mon, 25 Jun 2007 11:15:07 -0300
- 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/ > CSSOM: > 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