Re: [csswg-drafts] [cssom-view] Add ScrollIntoViewMode ("always", "if-needed"); add FocusScrollOptions (#5677)

Next steps:

- [ ] Review Scroll Snap spec and see how well the scroll alignment use cases are handled already.
- [ ] If the scroll snap scroll alignment properties are sufficient, remove the scroll alignment parts from this PR. (Otherwise, explain and discuss again with the WG.)
- [ ] Specify "if-needed" in terms of Scoll Snap so that 'scroll-margin' and 'scroll-padding' are taken into account when determining whether an element is "in view".
- [ ] Specify default alignment for `focus()` to match WebKit/Chromium, and fix Gecko to match. (AFAIK, so far no objections, and it's the shortest path to interop, and the behavior doesn't seem unreasonable.)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 18 November 2020 18:08:24 UTC