Skip to content

Commit 384ab04

Browse files
committed
[css-lists-3] Require white-space: pre on markers. Allow UA to collapse preserved line breaks. w3c#4448
1 parent ad9060e commit 384ab04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-lists-3/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ Properties Applying to ''::marker''</h4>
226226
::marker, ::before::marker, ::after::marker {
227227
unicode-bidi: isolate;
228228
font-variant-numeric: tabular-nums;
229+
white-space: pre;
229230
}
230231
</pre>
231232

@@ -269,6 +270,9 @@ Generating Marker Contents</h3>
269270
and ''::marker'' does not generate a box.
270271
</dl>
271272

273+
Additionally, the UA may transform into spaces or discard
274+
any preserved [=forced line breaks=].
275+
272276
<!--
273277
██ ██████ ████ ██ ██ ███ ██████ ████████
274278
██ ██ ██ ██ ███ ███ ██ ██ ██ ██ ██

0 commit comments

Comments
 (0)