- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 14 Mar 2014 20:24:34 +0000 (UTC)
- To: Rik Cabanier <cabanier@gmail.com>
- Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
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: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24748 -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 14 March 2014 20:25:41 UTC