Re: [csswg-drafts] [cssom-view] Consider making scroll methods return promises

in 2018 it is still very much needed, only now we will use it this way:

```
let element = document.getElementById('scroll-container');
await element.scroll(0, 400);
// ...scroll has finished
```

use case: set focus after scroll

-- 
GitHub Notification of comment by dartess
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1562#issuecomment-384280539 using your GitHub account

Received on Wednesday, 25 April 2018 13:10:05 UTC