Re: [CSS Variables] WebKit now supports variable declaration blocks

On Thu, Jul 31, 2008 at 11:40 AM, Andrew Fedoniouk <
news@terrainformatica.com> wrote:

> Say, I have:
>
> @define
> {
>    complex-variable:
>    {
>        color:red;
>        var-group: $another-complex-variable;
>    }
>    another-complex-variable:
>    {
>        color:maroon;
>        var-group: $complex-variable;
>    }
> }
>
> div
> {
>   color:white;
>   background-color: blue;
>   var-group: $complex-variable;
> }
> div
> {
>   color:blue;
>   var-group: $another-complex-variable;
> }
>
>
> What would be a color of the div text at the end:
>
> <div>
>  What color is this?
> </div>
>
>
> --
> Andrew Fedoniouk.
>
> http://terrainformatica.com
>
>
You know, Andrew, you can just install the nightly and test it out
yourself.  ^_^  The answer appears to be blue text on a blue background
(assuming I installed the nightly correctly).

~TJ

Received on Thursday, 31 July 2008 17:09:50 UTC