W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: Proposal 'default' value

From: <Eugen.Konkov@aldec.com>
Date: Fri, 26 Oct 2007 15:47:51 +0300
Message-ID: <020301c817ce$6ce64030$0100a8c0@kharkov.localhost>
To: "WWW Style" <www-style@w3.org>, "Rijk van Geijtenbeek" <rijk@opera.com>

>Would it be useful to have a 'default' value, defined to be equivalent to 
>'inherit' for properties that are inherited by default and equivalent to 
>'initial' for properties that are not inherited by default?

%) too compex to understand what this sentence means


under 'default' I mean initial value as it defined in DTD
so computed value of 'color' in my example will be that as there no any css 
for 'color' of DIV  was defined

----- Original Message ----- 
From: "Rijk van Geijtenbeek" <rijk@opera.com>
To: "WWW Style" <www-style@w3.org>
Sent: Friday, October 26, 2007 1:38 PM
Subject: Re: Proposal 'default' value


>
> On Fri, 26 Oct 2007 10:46:50 +0200, <Eugen.Konkov@aldec.com> wrote:
>
>> user normal declarations:
>> DIV {
>>  color: green;
>>  }
>>
>> author normal declarations
>> DIV {
>>  color: yellow;
>>  }
>>
>> user important declarations
>> DIV {
>>  color: default;
>>  }
>>
>> Result for color of div will 'black'
>
> 'default' has been proposed here:
> http://www.w3.org/TR/css3-values/#keywords
>
> I think what you want is 'initial' though, as defined in that Working 
> Draft.
>
> -- 
> Rijk
>
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> 
Received on Friday, 26 October 2007 12:49:46 GMT

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