[csswg-drafts] [css-text-4] Recommend applying `text-spacing: none` to additional preformatted elements in the default stylesheet (#13369)

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

== [css-text-4] Recommend applying `text-spacing: none` to additional preformatted elements in the default stylesheet ==
In [Appendix C: Default UA Stylesheet](https://drafts.csswg.org/css-text-4/#default-stylesheet), the CSS Text 4 spec suggests applying `text-spacing: none` to preformatted elements such as `pre` and `code`, in order to preserve the expected character grid with a monospaced font. (See [example 52](https://drafts.csswg.org/css-text-4/#example-a0119720).)

We should probably add `listing`, `xmp` and `plaintext` to the elements that are given the `text-spacing: none` property there.

(Noted by @emilio in https://phabricator.services.mozilla.com/D279511#inline-1522940.)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13369 using your GitHub account


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

Received on Monday, 19 January 2026 14:19:06 UTC