WebKit does not support "var-group" so in order to test this you'd
need to drop the property name, e.g.,
div { $complex-variable }
You also need to put ; between the variables in the @define (and no
colon is used for complex variables).
@define {
complex-variable { ... };
another-complex-variable { ... }
}
dave
On Jul 31, 2008, at 12:09 PM, Tab Atkins Jr. wrote:
>
>
> 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