You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up an HTML file and CSS file to test every kind of CSS thing and DOM nesting structure
Set up Red-Perfume to output an atomized version of both.
Set up a cypress test to validate that computed styles render identically in both
This can be done with Cypress assertions, or may be easier to have a single JS file that does getComputedStyle on a specific DOM node to evaluate it rendered as expected. Then have both HTML files link to the same JS file that evaluates and prints to the DOM if everything passed. Then Cypress can just validate that the DOM says "Passed".
The text was updated successfully, but these errors were encountered:
getComputedStyle
on a specific DOM node to evaluate it rendered as expected. Then have both HTML files link to the same JS file that evaluates and prints to the DOM if everything passed. Then Cypress can just validate that the DOM says "Passed".The text was updated successfully, but these errors were encountered: