W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: CSS Variables Draft Proposal

From: Jonas Hartmann <j0n4s.h4rtm4nn@googlemail.com>
Date: Tue, 15 Feb 2011 18:12:11 +0100
Cc: www-style list <www-style@w3.org>
Message-Id: <C7EF9BF0-6B73-40B6-B655-3C88B1E7B09B@googlemail.com>
To: Christoph Päper <christoph.paeper@crissov.de>
Hello,

css was always working like that. If you had another resource that got loaded later it overwrote prior specifications. even within css its that way. if you have the same selector later on in one document it overwrites... and in terms of specificity more specific selectors dominate less specific ones.

sorry, but Daniel is right, it'd be nothing but confusing.

On 2011-02-15, at 18:03, Christoph Päper wrote:

> Daniel Glazman:
>> Le 15/02/11 17:07, Christoph Päper a écrit :
>> 
>>> I am against making variables available across sources (i.e. the trinity of user agent, author and user), except perhaps when explicitly requested to, like this: @var $foo bar !important; …
>> 
>> Wow. Nobody will ever understand that... Extremely confusing.
> 
> More confusing than accidentally overwriting variables from a different source?
Received on Tuesday, 15 February 2011 17:12:54 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:37 GMT