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

It would be good to have the WG give input on how we should reach interoperability on how `focus()` scrolls; see @jihyerish [comment above](https://github.com/w3c/csswg-drafts/pull/1805#issuecomment-331383688) with browser results.

As the state is right now, the spec (with this PR) can't explain the Chrome, Opera, Safari behavior. The Firefox, Edge behavior is like:
```
// elm.focus() is equivalent to
elm.focus({ scrollOptions: { scrollMode: "if-hidden", block: "nearest", inline: "nearest" }});
```

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

Received on Tuesday, 17 October 2017 12:14:36 UTC