W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

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

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Jan 2017 06:06:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-271786376-1484114785-sysbot+gh@w3.org>
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 

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

GitHub Notification of comment by upsuper
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 11 January 2017 06:06:32 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC