Re: Proposal 'default' value

>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 UTC