Skip to content

Mark Element.scrollIntoView as not implemented#3639

Open
Cipscis wants to merge 1 commit intojsdom:mainfrom
Cipscis:main
Open

Mark Element.scrollIntoView as not implemented#3639
Cipscis wants to merge 1 commit intojsdom:mainfrom
Cipscis:main

Conversation

@Cipscis
Copy link
Copy Markdown

@Cipscis Cipscis commented Dec 11, 2023

Resolves #1695

Because JSDom can't handle layout, Element.scrollIntoView can't really be implemented. However, it hasn't been marked as not implemented like several other scrolling methods have, for example window.scrollTo.

This PR marks Element.scrollIntoView as not implemented, with the purpose of improved error reporting when users write tests than invoke Element.scrollIntoView.

@Benjin

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Element scrollIntoView()

2 participants