- From: Maciej Stachowiak <mjs@apple.com>
- Date: Thu, 8 May 2008 17:09:20 -0700
- To: Andrew Fedoniouk <news@terrainformatica.com>
- Cc: www-style <www-style@w3.org>
Received on Friday, 9 May 2008 00:10:03 UTC
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 UTC