Re: [cssom][dom-level-2-style] Status of CSSValue and other DOM-L2-Style interfaces obsoleted on www-style

On Sat, 03 Oct 2009 01:55:50 +0200, Sylvain Galineau  
<sylvaing@microsoft.com> wrote:
> At minimum, and whatever the reasons to recommend their obsolescence  
> were, it seems these interfaces are not treated as obsolete in practice.  
> And I do not expect a mailing list notice like this one to be normative  
> until the actual spec is edited. But as this has been brought up a  
> couple of times in the recent past [8][9], I wanted to raise the issue  
> once again to encourage its resolution. Thanks !

I still think they should be treated as obsolete. Unfortunately I have not  
found the time to edit CSSOM (separate from CSSOM View) but I did remove  
them there following this resolution. Having said that, they are  
implemented in WebKit and Firefox to some extent. They are not at all  
convenient APIs though. What I'd really like to see is something like

   ele.style.width.px += 2

or some such. (We might need to use a different object than style since  
making something both an object and DOMString for backwards compatibility  
is asking for trouble I suppose.)


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Thursday, 8 October 2009 09:00:10 UTC