W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

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

From: Kagami Sascha Rosylight via GitHub <sysbot+gh@w3.org>
Date: Sat, 13 May 2017 03:12:42 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-228445089-1494645160-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:53 UTC