New issue
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
MatchMedia.matches support #921
Labels
enhancement
New feature or request
Comments
capricorn86
added a commit
that referenced
this issue
May 15, 2023
capricorn86
added a commit
that referenced
this issue
May 15, 2023
capricorn86
added a commit
that referenced
this issue
May 16, 2023
capricorn86
added a commit
that referenced
this issue
May 16, 2023
capricorn86
added a commit
that referenced
this issue
May 16, 2023
capricorn86
added a commit
that referenced
this issue
May 17, 2023
capricorn86
added a commit
that referenced
this issue
May 17, 2023
capricorn86
added a commit
that referenced
this issue
May 18, 2023
…eries. Adds support for CSS measurment values to Window.matchMedia() and Window.getComputedStyle(). Adds support for the "height" property to CSSStyleDeclaration (which was missed somehow).
capricorn86
added a commit
that referenced
this issue
May 18, 2023
capricorn86
added a commit
that referenced
this issue
May 18, 2023
capricorn86
added a commit
that referenced
this issue
May 18, 2023
capricorn86
added a commit
that referenced
this issue
May 18, 2023
capricorn86
added a commit
that referenced
this issue
May 18, 2023
Thank you for reporting @belgattitude! 🙂 I have made a fix that adds support for "prefers-color-scheme" and many more media query features. You can read more about the release here: |
Thanks a lot, this a great feature. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Would be great to provide
window.matchMedia().matches
support.Describe the solution you'd like
Currently happy-dom isn't able to work with
Currently on latest version 9.18.3 it produces
Describe alternatives you've considered
N/A
Additional context
I'm currently trying to get a faster ci in the strapi repo: one iteration consists of trying to move from js-dom to happy-dom.
See strapi/strapi#16713 (comment)
The text was updated successfully, but these errors were encountered: