Re: [csswg-drafts] [selectors] What a whitespace character is (#3754)

> If we want to reduce that number of definitions, What we might want to do is to reopen https://github.com/w3c/csswg-drafts/issues/855 and to stop treating CR and FF as control characters, and start including them in document white-space instead, along with LF (and therefore make them invisible, collapse them, allow them in :empty...), which would allow us to align css-text's "document white space" with the infra spec's “ASCII white space”. I wouldn't have a strong objection to doing that, but I am also unconvinced it is useful.

I suggest closing this issue with no change, mainly due to the compat concerns and this no longer being about whitespace in content.

If it is agreed that CR/LF/FF handling should change, then either re-open #855 or open a new issue.

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


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

Received on Monday, 13 April 2026 14:55:00 UTC