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

Re: WebKit now supports CSS Variables

From: David Hyatt <hyatt@apple.com>
Date: Tue, 24 Jun 2008 12:41:52 -0500
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Cc: Håkon Wium Lie <howcome@opera.com>, www-style list <www-style@w3.org>
Message-id: <8BB10040-8215-49E3-AEF7-3AA16A1B2CAC@apple.com>

On Jun 24, 2008, at 8:50 AM, Daniel Glazman wrote:

> Håkon Wium Lie wrote:
>> I'd prefer to throw away invalid declarations at parse time, and not
>> have to keep them around. Therefore, I suggest that we add text
>> similar to the @namespace specification:
>>  The namespace prefix is declared only within the style sheet in
>>  which its @namespace rule appears. It is not declared in any style
>>  sheets importing or imported by that style sheet, nor in any other
>>  style sheets applying to the document.
> I see your point but I strongly disagree. The main purpose of CSS
> Variables for a corporation is unicity of design for all corporate
> web sites. That means having a single corporateVars.css somewhere that
> all other stylesheets can import... If you break at @import  
> boundaries,
> the whole thing loses most of its interest.

I agree.  I think the model of just allowing variables to be defined  
at the document-level is simple and intuitive.  It allows for  
centralized variable definition and reuse.

Received on Tuesday, 24 June 2008 17:42:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:37 UTC