- From: Simon Pieters via GitHub <sysbot+gh@w3.org>
- Date: Mon, 22 May 2017 10:29:48 +0000
- To: public-css-archive@w3.org
The intent is to provide an easy way to do center-center, since that is a common case, but legacy requires nearest-start for no-argument or `true` calls.
i.e.
```
elm.scrollIntoView({}); // center-center
elm.scrollIntoView(); // nearest-start
elm.scrollIntoView(true); // nearest-start
elm.scrollIntoView(false); // nearest-end
```
I would also recommend reading the editor's draft: https://drafts.csswg.org/cssom-view/
--
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1353#issuecomment-303062133 using your GitHub account
Received on Monday, 22 May 2017 10:29:55 UTC