W3C home > Mailing lists > Public > www-style@w3.org > September 2005

Re: [CSS2][css3-text] Text-Shadow: computed value

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 26 Sep 2005 18:36:39 +0000 (UTC)
To: Christian Biesinger <cbiesinger@web.de>
Cc: www-style@w3.org
Message-ID: <Pine.LNX.4.62.0509261827160.23945@dhalsim.dreamhost.com>

On Sun, 25 Sep 2005, Christian Biesinger wrote:
>  Computed value:  specified values (except for initial and inherit)
> However, there are two different ways allowed for specifying the text 
> shadow. Does this mean that I need to store which order was used in 
> order to produce the identical result again? Or can I pick either 
> serialization? (for the DOM getComputedStyle method)

As far as CSS goes, it doesn't matter. (Just like 'red' and '#F00' are 
identical as far as CSS goes).

If you are attempting to implement serialisation according to my 
canonicalisation proposal [1], then you'd want to serialise to the first 
possible form according to the syntax. So effectively:

   <color>? <length> <length> <length>?

However, this is not an official standard.

[1] http://www.damowmow.com/playground/canon.txt

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 26 September 2005 18:36:54 UTC

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