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

Currently, the result of Element.focus() on browsers is like this:

 Position of an element | Chrome | Firefox
-- | -- | --
Entirely in the view | No scrolling | No scrolling
Partially in the view | Scrolling (align: nearest) | No scrolling
Entirely out of the view | Scrolling (align: center) |  Scrolling (align: nearest)

You can see how it works [here](https://jihyerish.github.io/all-about-focus/).


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

Received on Friday, 22 September 2017 08:22:07 UTC