W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

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

From: Jihye Hong via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 May 2017 07:38:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-303643539-1495611494-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:53 UTC