W3C home > Mailing lists > Public > www-style@w3.org > July 2003

Re: Will behaviors be added to CSS?

From: Chris Moschini <cmoschini@myrealbox.com>
Date: Wed, 16 Jul 2003 18:09:30 -0400
To: david@djwhome.demon.co.uk, www-style@w3.org
Message-ID: <1058393370.b00b2720cmoschini@myrealbox.com>

> just by assigning them to the appropriate CSS class.

I'm curious about this too. I've used Behaviors to great effect in IE. Even though they aren't implemented exactly as the standard may take them, being able to abstract the event model into a separate file really dices HTML down to some IDs and classes - the way it's supposed to be.

It would offer some amazing DOM manipulation possibilities. Consider swapping in one's stylesheet for say, big fonts. One could also swap in a "BehaviorSheet" or whatever you like to call it, to cause, say, all elements with an AccessKey to underline the related letter when you hold Alt. All through some DOM-manipulation code you swapped in.
-Chris "SoopahMan" Moschini
http://hiveminds.info/
http://soopahman.com/
Received on Wednesday, 16 July 2003 18:10:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:22 GMT