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

> 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