Re: [css3-images] aliases for 'cover' and 'contain'

On Nov 7, 2011, at 11:56 AM, "Florian Rivoal" <florianr@opera.com> wrote:

> On Mon, 07 Nov 2011 20:47:00 +0100, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> 
>> On Mon, Nov 7, 2011 at 11:25 AM, Florian Rivoal <florianr@opera.com> wrote:
>>> This logic is sound, but at the same time, I am a bit worried about
>>> serialization converting one alias to the other, and getting the same kind
>>> of complaint we get about red turning into rgb(255,0,0).
>> 
>> Ah, whoops, forgot about that detail.  I'm not planning on making them
>> compute to each other; there's really no reason to.
> 
> That's a bit better, but at then you get two values that are distinct from each-other, and checking for equality gives false, even though they do exactly the same thing. Not ideal either.
> 
> All in all, I am not violently opposed to aliases, but they do make me feel a bit uncomfortable. Is there precedent for that?

Aren't color values the precedent? Or length values?

Received on Monday, 7 November 2011 20:43:00 UTC