Re: [csswg-drafts] [css-lists] Should collapsible space after inside ::marker be preserved? (#4891)

The spec issue says

> `white-space: pre` doesn’t have quite the right behavior; `text-space-collapse: preserve-spaces` + `text-space-trim: discard-after` might be closer to what’s needed here.

But in https://bugzil.la/145075#c12 @MatsPalmgren argues that by default, a list item sized with min-content shouldn't have a line break between the marker and the first word of the list item.

So another proposal would be
```css
text-space-collapse: preserve-spaces;
text-space-trim: discard-after;
text-wrap: nowrap;
```

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


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

Received on Wednesday, 16 June 2021 18:16:04 UTC