Re: [csswg-drafts] [mediaqueries] How do media queries with calc() where it can be resolved early serialize?

FWIW that's what currently Firefox implements for normal declaration blocks / computed values.

That is:

```html
<!doctype html>
<style>
  #foo { line-height: calc(1 + 3); }
</style>
<script>
  alert(document.styleSheets[0].cssRules[0].cssText)
</script>
```

Alerts `line-height: calc(4)` on Firefox, but `line-height: 4;` on chromium / blink.

For media queries I didn't know whether we should do that or not, because it's not clear whether it's a computed or a specified value (thus this issue).

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

Received on Monday, 22 January 2018 17:59:52 UTC