[csswg-drafts] [cssom-view-1] Can scrollIntoView param type be more specifc?

SaschaNaz has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view-1] Can scrollIntoView param type be more specifc? ==
[The IDL of Element partial interface](https://drafts.csswg.org/cssom-view/#extension-to-the-element-interface) defines scrollIntoView receives `boolean` or `object`. Can the IDL be more specific and directly refer ScrollIntoViewOptions as other scroll methods do?

```
void scrollIntoView();
void scrollIntoView((boolean or object) arg);
void scroll(optional ScrollToOptions options);
void scroll(unrestricted double x, unrestricted double y);
void scrollTo(optional ScrollToOptions options);
void scrollTo(unrestricted double x, unrestricted double y);
void scrollBy(optional ScrollToOptions options);
void scrollBy(unrestricted double x, unrestricted double y);
```


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1367 using your GitHub account

Received on Saturday, 13 May 2017 03:12:48 UTC