W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: 'all' and the system focus outline

From: Florian Rivoal <florian@rivoal.net>
Date: Wed, 18 Mar 2015 16:19:13 +0100
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>, Alice Boxhall <aboxhall@google.com>
Message-Id: <B697D8FE-1BEA-4CA7-9387-53D222AF98D0@rivoal.net>
To: Doug Schepers <schepers@w3.org>

> On 17 Mar 2015, at 02:41, Doug Schepers <schepers@w3.org> wrote:
> 
> Hey, Tab–
> 
> This may be a stupid idea, but could we distinguish the 'outline' property from the outline highlight?
> 
> In the same way that 'outline' has different characteristics than 'border', there could be a 'highlight' or 'focus-ring' property that is different than 'outline' in that it's only for the focus outline.
> 
> This 'highlight' property would not be changed by the 'all' property, and 'outline' could be set and reset for all other purposes. This would also seem to address exposing some of the 'magic' of CSS–platform behavior.

This is tricky. The outline property has been living all it's life without ever managing to decide whether if it was about decorative borders that don't affect layout or about focus indicators, so it has been doing both.

Even if it was clear for a technical point of view how two separate properties to deal with each case should differ from eachother, we'd still have a large baggage of content which uses the historical one for both purposes, so it wouldn't really word out.

 - Florian
Received on Wednesday, 18 March 2015 15:19:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC