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

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

From: Antony Kennedy <booshtukka@me.com>
Date: Mon, 28 Jul 2014 18:06:07 +0000
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
Message-id: <794260D0-BEB5-496B-926D-E7F066C3088B@me.com> (sfid-20140728_180614_186855_4DBB3933)
To: "Tab Atkins Jr." <jackalmage@gmail.com>

> On 28 Jul 2014, at 09:01, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> 
> On Fri, Jul 25, 2014 at 1:56 PM, Antony Kennedy <booshtukka@me.com> wrote:
>>> 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
>> 
>> 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?
> 
> Assuming you meant "UA-defined focus outline", then yes, that would do
> what you want.
> 
> ~TJ
> 

US-defined, yes, sorry.
Received on Friday, 8 August 2014 17:07:46 UTC

This archive was generated by hypermail 2.3.1 : Friday, 8 August 2014 17:07:47 UTC