Re: [csswg-drafts] [css-variables][cssom] Empty value doesn't round-trip (#9847)

Wouldn't it be appropriate to also change [`getPropertyValue()`](https://drafts.csswg.org/cssom-1/#dom-cssstyledeclaration-getpropertyvalue) to explicitly serialize a custom property declared with an empty string, as a whitespace? Noting that [serialize a CSS block](https://drafts.csswg.org/cssom-1/#serialize-a-css-declaration-block) always produce.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 22 February 2025 03:36:46 UTC