[whatwg] Psuedo classes based on DOM Events

Ian Hickson ian at hixie.ch
Fri Dec 11 05:43:43 PST 2009

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.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list