Re: [csswg-drafts] [cssom][css-variables] Whitespaces in serialization of custom property value and value with variable reference

Alternatively, to make the output nice, we can say in "serialize a CSS
 declaration" that, if the value doesn't have any preceding 
whitespace, than add a whitespace after colon, and if the value 
doesn't have any trailing whitespace, add a whitespace before 
"!important".

That would change the value, but `cssText` itself would be idempotent.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/881#issuecomment-271786376 
using your GitHub account

Received on Wednesday, 11 January 2017 06:06:32 UTC