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

Re: [css] Proposal: making Shorthand Hex Colors even shorter (16 grayscale shades)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 1 Dec 2011 20:59:43 -0800
Message-ID: <CAAWBYDDsYRiixZukGiZW=f4fEP_VQgaWM9g9yzkDKVEia8B_sw@mail.gmail.com>
To: Lea Verou <leaverou@gmail.com>
Cc: Chris Nager <cnager@gmail.com>, www-style@w3.org
On Thu, Dec 1, 2011 at 8:50 PM, Lea Verou <leaverou@gmail.com> wrote:
> My impression is that the latest efforts of the W3C is to standardize not
> only correct behavior, but also error handling.
> Since 1-2 digit hex codes are already on the web, maybe it would be a good
> idea to standardize their behavior, rather than letting browsers decide.
> Whether they should be *valid* though, that's another question.

The behavior in HTML presentational attributes is well-defined, and I
know that FF and WebKit have identical behavior for them (IE behavior
is similar, but not identical last time I checked).  They've always
been invalid in CSS, though, and no modern browser accepts them.  So,
they're pretty well standardized and interoperable at this point.

Brian's point was just that there is more than one reasonable
interpretation of what a 2-digit hex color means.

Received on Friday, 2 December 2011 05:00:31 UTC

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