- From: LGE WEBSTD via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 May 2017 02:26:55 +0000
- To: public-css-archive@w3.org
> why something is being focused, could do it wrong (and scroll too much, or in ways unexpected to the user). Yes, this is what I intend to solve. > Maybe the choice is more between: Are both options for the behavior of "none" value? If so, if the focus() could have the value "none", the scroll behavior would be defined under two cases: - when the focused element is partly within the optimal viewing region - when the focused element is entirely outside the optimal viewing region For case 1, the element don't scroll. And for case 2, the result would be scrolling element entirely into the optimal viewing region. The behavior in case 2 makes the naming of the value "none" not suitable because the meaning of the term doesn't match with its behavior. I guess you also thought that "none" is a desirable value because of this. > if only 1px is in the optimal viewing region, you probably want to scroll anyway. But where is the threshold? When having the "none" value, the element don't scroll even if the 1px of it is in the optimal viewing region. What would be the use case when the threshold is needed? -- GitHub Notification of comment by lgewst Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1388#issuecomment-303600188 using your GitHub account
Received on Wednesday, 24 May 2017 02:27:02 UTC