W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] Psuedo classes based on DOM Events

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 11 Dec 2009 13:43:43 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0912111341580.29336@hixie.dreamhostps.com>
On Tue, 5 Dec 2006, Rohan Prabhu wrote:
>
> i was just wondering, that in the Web Controls 1.0 specifications, in
> the psuedo classes specifications, could it be that the psuedo classes
> could also be the DOM Events which would modify the style information
> attached to it. Like for ex:
> 
> #objectid:onmouseup
> #objectid:onmousedown
> #objectid:onmouseover
> #objectid:onmouseout
> #objectid:onkeypress
> 
> etc...
> 
> just a idea from the silly mind of mine :D .. but do give ur comments on 
> that..

Based on the direction that the Web standards world has gone in since you 
wrote your question, I think it's likely that the Web Controls spec isn't 
going to go anywhere. Instead, I expect XBL2 and ARIA will provide the 
bulk of the features. The effect you describe will probably just be 
handled by regular script, possibly in conjunction with CSS features like 
the new CSS transition draft.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 11 December 2009 05:43:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:54 UTC