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

Re: [BECS] CSSS! - CSS script

From: Maciej Stachowiak <mjs@apple.com>
Date: Thu, 8 May 2008 17:09:20 -0700
Cc: www-style <www-style@w3.org>
Message-Id: <48F81B96-6620-47D0-9F0E-8D226C850310@apple.com>
To: Andrew Fedoniouk <news@terrainformatica.com>

On May 7, 2008, at 5:26 PM, Andrew Fedoniouk wrote:

>
> Here is style definition that use CSSS! feature:
>
> div.tab-strip span
> {
>     when-active-on:
>            $(div.tab-strip span[current]).current = null
>            $(div.panels>div[current]).current = null
>            self.current = true
>            $1(div.panels>div:nth-child(< self:index >)).current =  
> true;
>  }

I think it is a bad idea to invent a new imperative scripting language  
and embed it in CSS.

Regards,
Maciej
Received on Friday, 9 May 2008 00:10:03 GMT

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