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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 8 Aug 2014 10:40:17 -0700
Message-ID: <CAAWBYDBog4HDA-+0UiLLX8ZTmtU6-YfQ0iVxb4F=acWvNKQiFw@mail.gmail.com>
To: Antony Kennedy <booshtukka@me.com>
Cc: www-style list <www-style@w3.org>
[please use plain-text email; your editing software turned the reply
chain into gibberish for me, and for the archives]

On Tue, Jul 29, 2014 at 9:04 PM, Antony Kennedy <booshtukka@me.com> wrote:
> Do we have a way to apply this with a cross-selector? For example, say I
> have:
>
> <div role=“button” tabindex=“0” id=“fake button”>Focus me</div>
>
> Is there a way to apply the UA default focus outline for a button element to
> this element on focus?

Nope, at least not without something like the 'appearance' property.
You can't "transfer" styles over from one element to another.

~TJ
Received on Friday, 8 August 2014 17:41:03 UTC

This archive was generated by hypermail 2.3.1 : Friday, 8 August 2014 17:41:04 UTC