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
To use CSSOM you'd need to use some kind of headless-browser working as child-process, since nodejs does not support CSSOM API natively. Additionally CSSOM is not a value parser. EDIT: Well I've found out it is: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleValue/parse
Background: We are doing a bit too much work than we should by writing our own parsers for css property values (e.g. gradient, shadow, background).
Task: Research css parsers (e.g. https://github.com/reworkcss/css ), and replace our parsers.
🤔does any CSS parser parses property values?
🤔can we use the native CSSOM instead?
The text was updated successfully, but these errors were encountered: