W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

Re: [csswg-drafts] [cssom-1] How to serialize specified value of properties with a var()? (#6484)

From: andruud via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Aug 2021 12:29:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-895987633-1628598592-sysbot+gh@w3.org>
> I think that Chrome's behavior is because it stores props with var() references as a token stream (throwing away comments)

Yeah, that's right.

Since we (should) serialize `--color: /* foo */ var(--foo)` as the original string, it seems consistent to serialize `color: /* foo */ var(--foo)` as the original string as well.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 August 2021 12:29:55 UTC

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