Re: [csswg-drafts] [css-overflow][cssom-view] Set the option for scrolling behavior triggered by focus

> I don't know if a threshold is the right way to go about this, but it seems to me that from a user point of view, an element being completely outside the optimal viewing region and and element only having 1px inside it are pretty much the same.

I considered to use "none" value when the scrolling behavior triggered via focusing by `mouseover`.

So if we could use "none" value for focus(), when we consider an element only having 1px inside the optimal viewing region behave to scroll inside it, the `mouseover` would trigger scroll too much. 
I'd like to solve this problem by no scrolling behavior on that condition.
Also the threshold wouldn't be needed because we can `mouseover` the 1px of the element which is inside the optimal viewing region.

I think the same scroll behavior by focus for both an element being completely outside the optimal viewing region and an element only having 1px inside it could be implemented by "auto" value.

-- 
GitHub Notification of comment by jihyerish
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1388#issuecomment-303643539 using your GitHub account

Received on Wednesday, 24 May 2017 07:38:22 UTC