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

kojiishi has just created a new issue for https://github.com/w3c/csswg-drafts:

== What should `getComputedStyle(e).whiteSpace` be? ==
The [`white-space` property in CSS Text Level 4](https://w3c.github.io/csswg-drafts/css-text-4/#white-space-property) is defined as a shorthand.

It has a special mapping table for existing values of `white-space`, but what should `getComputedStyle(e).whiteSpace` be when longhands are not in the mapping table?

For example:
```css
white-space: normal;
text-wrap: balance;
```
Then what should `getComputedStyle(e).whiteSpace` be?

In the Blink discussion, some thinks it should be an empty string, because the longhands are not in the mapping table. Another interpretation was to return `balance` or `collapse balance none` since it's a shorthand.

Clarification is appreciated in advance.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8411 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 14:58:30 UTC