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

[whatwg] Psuedo classes based on DOM Events

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 05 Dec 2006 21:18:27 +1100
Message-ID: <45754773.8050507@lachy.id.au>
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

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