[w3c/editing] Canonicalize Whitespace algorithm does not respect the `white-space-collapse` CSS property (Issue #486)

Calme1709 created an issue (w3c/editing#486)

Steps 3.3, 7.3 and 8.3 of the [canonicalize whitespace algorithm](https://w3c.github.io/editing/docs/execCommand/#canonicalize-whitespace) have a condition of `parent's resolved value for "white-space" is neither "pre" nor "pre-wrap"`. As "white-space" has been converted into a shorthand property this should instead use the longhand [white-space-collapse](https://www.w3.org/TR/css-text-4/#propdef-white-space-collapse) property.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/486
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/486@github.com>

Received on Wednesday, 21 May 2025 08:02:27 UTC