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

Re: [csswg-drafts] [cssom] Should shorthands in object from getComputedStyle be enumerable?

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 04 Jul 2018 07:52:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-402395155-1530690739-sysbot+gh@w3.org>
Chrome currently does *not* include shorthands in the list of properties when you enumerate them:

[Example](http://software.hixie.ch/utilities/js/live-dom-viewer/saved/6024)
```
<!DOCTYPE html>
<body>
<script>
var x = [...getComputedStyle(document.body)];
w(x);
</script>
```

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2877#issuecomment-402395155 using your GitHub account
Received on Wednesday, 4 July 2018 07:52:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 4 July 2018 07:52:31 UTC