W3C home > Mailing lists > Public > www-style@w3.org > May 2006

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

From: Martijn <martijn.martijn@gmail.com>
Date: Tue, 9 May 2006 14:35:21 +0200
Message-ID: <6c97b8b10605090535q64ec5fcgbe1e3bcea0d42020@mail.gmail.com>
To: "Andrew Fedoniouk" <news@terrainformatica.com>
Cc: "Laurens Holst" <lholst@students.cs.uu.nl>, www-style@w3.org

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 GMT

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