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

```
focus({ preventScroll: true });
focus({ scrollOptions: { scroll: "always" } });
focus({ scrollOptions: { scroll: "if-needed" } });
scrollIntoView({ scroll: "always" });
scrollIntoView({ scroll: "if-needed" });
```
"if-needed" would be familiar for developers using `scrollIntoViewIfNeeded()`.

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

Received on Wednesday, 13 September 2017 06:37:16 UTC