- From: Adam van den Hoven <adam.vandenhoven@gmail.com>
- Date: Fri, 30 Nov 2007 11:18:15 -0800
- To: "public-html@w3.org Tracking WG" <public-html@w3.org>
- Cc: Martin Atkins <mart@degeneration.co.uk>
> > On 30-Nov-07, at 10:14 AM, Martin Atkins wrote: > Boris Zbarsky wrote: >> Karl Dubost wrote: >>> though if we do that we really should find a way to strongly >>> discourage its use (and the use of its DOM attribute) >>> for non-WYSIWYG authors. >> Wait. Discourage use of node.style.propName? In favor of what, >> exactly? > > I don't to speak for whoever wrote that in the spec, but I believe > that some are suggesting that it's better to twiddle the value of > node.className and have the actual style rules in a stylesheet. > That's all well and good in theory but I believe that most effects libraries rely on node.style.propName to do their thing. Secondly Joseph Smarr gave a talk on high performance JS and one of the things that he says is to avoid dynamic CSS-class definitions (that is adding classes at run time). Droping support for node.style is going to hurt a lot of people. http://video.yahoo.com/video/play?vid=1041101 http://josephsmarr.com/2007/07/25/high-performance-javascript-oscon-2007/
Received on Friday, 30 November 2007 19:22:21 UTC