W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css3-background] PFWG input on focus ring

From: Antony Kennedy <booshtukka@me.com>
Date: Fri, 25 Jul 2014 20:56:41 +0000
Cc: www-style@w3.org
Message-id: <A3AB039C-582F-4990-A312-4AD20C2D4F1C@me.com> (sfid-20140725_205648_748302_8864F762)
To: fantasai <fantasai.lists@inkedblade.net>

> On 25 Jul 2014, at 12:14, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
> On 07/25/2014 07:30 PM, Tab Atkins Jr. wrote:
>> On Fri, Jul 25, 2014 at 11:21 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>>> On 7/25/14, 2:08 PM, Tab Atkins Jr. wrote:
>>>> There is not. It has to either be marked !important in the UA style
>>>> sheet by the UA, or duplicated in the user style sheet and marked
>>>> !important.
>>> 
>>> That said, if we did have a "default" value which meant "cascaded UA-level
>>> value" in user sheets and "cascaded UA+user level value" in author sheets),
>>> and the default focus ring were in fact a UA-level value, then doing
>>> "default !important" in a user sheet would in fact work.
>> 
>> I thought the only reason we didn't have that was implementation
>> concerns? If people are down with it, I can add that easily.
> 
> s/add/re-add/ ;)
> 
> http://www.w3.org/TR/2013/WD-css3-cascade-20130103/#default
> 
> ~fantasai
> 

For my use case, I would like to have a single user stylesheet that states e.g.

:focus {outline: default !important;}

Which maintains the author defined focus outline, and stops authors from overriding it. This seems like it would meet this requirement?
Received on Monday, 28 July 2014 09:48:51 UTC

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