Re: [csswg-drafts] [cssom] Serialization of CSS declaration block returned from getComputedStyle

A small clarification to my previous comment: in my library, the ```getPropertyValue()``` in the computed styles returns a value for properties that aren't found in the ```item``` collection, if the library knows about its initial value. The ```item``` method only returns the properties that were cascaded or inherited.

That's what I meant with:

> if you need the computed value for a given property, use getPropertyValue()

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

Received on Thursday, 3 May 2018 12:03:41 UTC