[whatwg] 2 requests for drawSystemFocusRing

Ian Hickson ian at hixie.ch
Fri Mar 14 13:24:34 PDT 2014

On Mon, 16 Dec 2013, Rik Cabanier wrote:
> Ian wrote:
> > On Wed, 2 Oct 2013, Rik Cabanier wrote:
> > >
> > > I don't understand. If the path that is active during 
> > > drawCustom/SystemFocusRing is off screen and the element is focused, 
> > > the browser will scroll to that area.
> > 
> > drawCustomFocusRing() and drawSystemFocusRing() shouldn't cause 
> > anything to scroll. That would be very confusing, IMHO. (When would 
> > you scroll? Consider the case of the control originally being 
> > off-screen on purpose, and animating into position. You want the focus 
> > ring drawn the whole time, and the zoom to follow it maybe, but you 
> > only want to scroll once, at the start, to the location that it will 
> > have at the end.)
> We want to scroll if the element is focused and the area that is 
> described by the current path is offscreen. This should follow CSSOM 
> View's definition of scrolling [1].

Doing this in a way that's in any way related to draw*FocusRing() doesn't 
make any sense. However, it definitely makes sense for the browser to 
inform the page when the AT wants to scroll to a hit region, and this is 
the topic of this bug:


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