Re: [csswg-drafts] [cssom-view] Add notIfViewed to ScrollIntoViewOptions; add FocusScrollOptions

Sorry, I mixed it up. I thought if "if-needed" is specified and the element is **entirely out of view**, then scrolling happens.
Then, the use case for scrolling only when the element is entirely out of view cannot be supported with this, right? That case is what I wanted to solve at the very beginning. (https://github.com/whatwg/html/issues/834#issuecomment-295643901)
Also in Firefox, Element.focus() works like that.

So I think it also need to cover this case.

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

Received on Friday, 22 September 2017 08:19:42 UTC