The CSS Object Model specification includes many rules on how to serialize CSS in a consistent way. For example, the current translate() output p{color:green} would become p { color: green; } using the CSSOM rules. It even covers parts like how to serialize a string.
I recently started working on an implementation of the CSSOM and would like to use CSSTree as the parser, thanks to the priority you put on parsing standard syntax. I'll probably write my own generate functions if you decline, but I figured I would ask if you want to make CSSTree serialize CSS according to CSSOM by default? Thanks!
The CSS Object Model specification includes many rules on how to serialize CSS in a consistent way. For example, the current translate() output
p{color:green}would becomep { color: green; }using the CSSOM rules. It even covers parts like how to serialize a string.I recently started working on an implementation of the CSSOM and would like to use CSSTree as the parser, thanks to the priority you put on parsing standard syntax. I'll probably write my own
generatefunctions if you decline, but I figured I would ask if you want to make CSSTree serialize CSS according to CSSOM by default? Thanks!