W3C home > Mailing lists > Public > www-style@w3.org > November 2011

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Mon, 7 Nov 2011 12:42:15 -0800
Message-Id: <E0758F16-1504-4B34-9122-8913FCB0832A@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>, "daniel.glazman@disruptive-innovations.com" <daniel.glazman@disruptive-innovations.com>
To: Florian Rivoal <florianr@opera.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:07 UTC