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

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

HTH,
-- 
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