-
-
Notifications
You must be signed in to change notification settings - Fork 928
Closed
Labels
Area: CoreFor anything dealing with Mithril core itselfFor anything dealing with Mithril core itselfStatus: Needs reproductionFor issues that lack a demo or example that reproduces the unexpected behavior in questionFor issues that lack a demo or example that reproduces the unexpected behavior in questionType: BugFor bugs and any other unexpected breakageFor bugs and any other unexpected breakage
Description
Is there an existing issue for this?
- I have searched the existing issues
Mithril.js Version
2.2.10
Browser and OS
Vitest
Project
No response
Code
Checking the value of `style.cssText` for any element returns an empty string as of 2.2.10. Prior to this (2.2.9), the value showed the actual CSS text. This was immensely helpful for testing CSS values with vitest/happy-dom.Steps to Reproduce
Using vitest or happy-dom, getElement and check the style.cssText value.
Expected Behavior
It should return the CSS values, I think.
Observed Behavior
Empty string is always returned.
Context
Breaks a bunch of my tests.
Metadata
Metadata
Assignees
Labels
Area: CoreFor anything dealing with Mithril core itselfFor anything dealing with Mithril core itselfStatus: Needs reproductionFor issues that lack a demo or example that reproduces the unexpected behavior in questionFor issues that lack a demo or example that reproduces the unexpected behavior in questionType: BugFor bugs and any other unexpected breakageFor bugs and any other unexpected breakage