[whatwg] Outline style to use for drawSystemFocusRing

Ian Hickson ian at hixie.ch
Fri Jul 26 11:40:18 PDT 2013


On Fri, 26 Jul 2013, Dominic Mazzoni wrote:
>
> On Fri, Jul 26, 2013 at 11:13 AM, Ian Hickson <ian at hixie.ch> wrote:
> > 
> > Well we can't use the CSS styles, because you might not have an 
> > element (e.g. if you're drawing in a worker).
> 
> I'm not quite sure what you mean - doesn't drawSystemFocusRing require 
> an element as a parameter (so that it only draws if the element has 
> focus)?

Hm, that's an interesting point. I guess these methods aren't usable 
inside workers anyway.


> > But before we do that, we should probably figure out how much demand 
> > there is for this. If people are happier to just draw their own rings 
> > entirely, then we probably don't need to bother providing this at all.
> 
> Fair enough. I'll implement drawSystemFocusRing with the default style 
> and we can start getting feedback from web developers.

Cool. Please do report any feedback you get directly!

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list