Re: [csswg-drafts] [cssom] should custom properties be exposed on computed style declarations? (#1316)

The spec should definitely reflect what's currently supported in browsers — `getPropertyValue()` and `setProperty()` and so on.  If there are any parts that still disagree, they need to be updated.

But I'd also be happy to have easier / more familiar ways to access the values. If you've got specific use cases, @stefsullrew, that would definitely help.

E.g, do you need support for `el.style["--my-prop"]` getting and setting? Or as @emilio mentioned, the ability to list out all properties through enumeration?

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

Received on Monday, 1 April 2019 19:35:11 UTC