Re: [CSS3] What about "behavioral extensions to CSS"?

On 5/9/06, Andrew Fedoniouk <news@terrainformatica.com> wrote:
> Let's imagine that we have 'behavior' CSS attribute with syntax:
>
> behavior: 'check'  || 'radio' || etc.
>
> And somewhere in the specification to have definition like this:
> <definition>
> behavior:check triggers value of :checked state flag so
> each even element activation sets :checked to 'true' and each
> odd activation sets it to 'false'.
> </definition>
>
> This way you will have your :activated done. Also this
> will allow to implement "collapsible trees" and many other things.
>
> behavior: radio can be used for implementation of  tabular views
> and other similar effects.
>
> In fact list of typical behaviors is pretty limited - 6 or so and
> they can be well formalized. Having them will eliminate many
> cases when we need script now.
>
> Andrew Fedoniouk.
> http://terrainformatica.com
>

I like this!

Regards,
Martijn

Received on Tuesday, 9 May 2006 12:42:16 UTC