We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:scope
Describe the bug since happy-dom@13, Element methods with selector string argument seem to no more support :scope selector
happy-dom@13
Element
.queySelector()
.querySelectorAll()
.matches()
To Reproduce Steps to reproduce the behavior:
npm i happy-dom
//index.js import { Window } from 'happy-dom'; const window = new Window(); console.log(window.document.body.matches(':scope')); // false :(
node index.js
Expected behavior element.matches(':scope') should be true
element.matches(':scope')
true
Device:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
since
happy-dom@13
,Element
methods with selector string argument seem to no more support:scope
selector.queySelector()
.querySelectorAll()
.matches()
To Reproduce
Steps to reproduce the behavior:
npm i happy-dom
node index.js
Expected behavior
element.matches(':scope')
should betrue
Device:
The text was updated successfully, but these errors were encountered: