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

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

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Fri, 30 Jul 2021 09:41:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-889772906-1627638082-sysbot+gh@w3.org>
Another interesting test-case is something not involving comments like:

```
<!DOCTYPE html>
<body style="color: 1e3 var(--foo); --foo: blue;">
<script>
document.body.textContent = document.body.style.getPropertyValue("color");
</script>
```

Chrome serializes `1000 var(--foo)` while Firefox serializes `1e3 var(--foo)`.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 30 July 2021 09:41:25 UTC

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