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

Re: [Bulk] Re: [BECS] CSSS! - CSS script

From: Alan Gresley <alan@css-class.com>
Date: Fri, 09 May 2008 13:35:43 +1000
Message-ID: <4823C68F.9020903@css-class.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: Francois Remy <fremycompany_pub@yahoo.fr>, www-style <www-style@w3.org>

Andrew Fedoniouk wrote:
[...]
> <style>
>    [for]
>    {
>      when-hover-on: $1(#< self.for >).highlight = true;
>      when-hover-off: $1(#< self.for >).highlight = null;
>      when-active-on: $1(#< self.for >).set-focus();
>      cursor:pointer;
>    }
>    input[highlight]
>    {
>      outline: 4px glow blue 1px;
>    }
> </style>


Some of that can be done with CSS2 selectors. There has be plenty of 
recent discussion on this list about selectors (for transition states) 
like :initial and :alternative without introducing any other language.

That above looks like some hybrid CSS and scripting language.


Alan
Received on Friday, 9 May 2008 03:36:37 GMT

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