Re: [csswg-drafts] What should `getComputedStyle(e).whiteSpace` be? (#8411)

Properties should always serialize into something that's valid according to their grammar, or empty string if not possible.
So in this case it's empty string, just like

```js
document.body.style.cssText = 'border: solid; border-image: url("#a")';
document.body.style.border; // ''
getComputedStyle(document.body).border; // ''

document.body.style.cssText = 'grid: 1px / 2px; grid-auto-flow: column';
document.body.style.grid; // ''
getComputedStyle(document.body).grid; // ''
```

Dang, both computed style cases are broken in Blink/WebKit :facepalm: 

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


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

Received on Tuesday, 7 February 2023 15:13:02 UTC