[whatwg] Psuedo classes based on DOM Events

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

Why?  Are you going to try and attach event listeners using CSS?  I 
think XBL might be what you're looking for.  It can do that and more.

http://www.w3.org/TR/xbl/

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Tuesday, 5 December 2006 02:18:27 UTC