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

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

Received on Monday, 28 July 2014 16:02:43 UTC