Re: [csswg-drafts] [cssom] Doubt about resolved value of shorthands

And now that we're talking about this, one more question if instead 
`getComputeStyle()` you use `style` directly on the element.
Something like this:
```js
  document.querySelector("#flexitem").style.flex = "2";
  console.log("flex (.style): " + 
document.querySelector("#flexitem").style.flex);
```

The output here is the same in all the browsers I've checked Chrome, 
Firefox, Safari and Edge:
```
  flex (.style): 2 1 0%;
```



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

Received on Friday, 17 February 2017 10:51:35 UTC