[whatwg] Psuedo classes based on DOM Events
Lachlan Hunt
lachlan.hunt at lachy.id.au
Tue Dec 5 02:18:27 PST 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
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/
More information about the whatwg
mailing list