Skip to content

Commit 7664170

Browse files
committed
[css-text-4] Add text-spacing:none to listing/xmp/plaintext #13369
1 parent 3019d34 commit 7664170

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎css-text-4/Overview.bs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12193,7 +12193,7 @@ Default UA Stylesheet</h2>
1219312193
textarea { white-space-collapse: preserve !important; }
1219412194

1219512195
/* preserve character grid in preformatted text */
12196-
pre, code, kbd, samp, tt { text-spacing: none; }
12196+
pre, code, kbd, samp, tt, listing, xmp, plaintext { text-spacing: none; }
1219712197

1219812198
/* Avoid hanging punctuation inheriting into preformatted blocks */
1219912199
pre { hanging-punctuation: none; }
@@ -13305,6 +13305,8 @@ Changes</h2>
1330513305
Significant changes since the <a href="https://www.w3.org/TR/2024/WD-css-text-4-2024052">29 May 2024 Working Draft</a> include:
1330613306
* Added ''avoid-orphans'' to 'text-wrap-style'.
1330713307
(<a href="https://github.com/w3c/csswg-drafts/issues/10837">Issue 10837</a>)
13308+
* Added <{listing}>, <{xmp}>, and <{plaintext}> to the list of elements assigned ''text-spacing: none'' in the default UA stylesheet.
13309+
(<a href="https://github.com/w3c/csswg-drafts/issues/13369">Issue 13369</a>)
1330813310

1330913311
Significant changes since the <a href="https://www.w3.org/TR/2024/WD-css-text-4-20240219/">19 February 2024 Working Draft</a> include:
1331013312
* Renamed the 'text-spacing-trim' value <css>trim-auto</css> to ''trim-both''.

0 commit comments

Comments
 (0)