E47F [cssom-view-1] Can scrollIntoView param type be more specifc? · Issue #1367 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[cssom-view-1] Can scrollIntoView param type be more specifc? #1367

@saschanaz

Description

@saschanaz

The IDL of Element partial 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);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0