Open hnordt opened 5 years ago
Yeah, currently cssom
and vcssom
addons are completely separate. But, I guess, it does make sense to integrate them with the rest of the addons.
This line should be changed to something like:
const declarations = renderer.decl(property, newDecl[property]).split(';');
for (var i = 0; i < declarations.length; i++) {
var parts = declarations[i].split(':');
style.setProperty(parts[0], parts[1]);
}
When using
vcssom
addon, theunitless
addon has no effect.