W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

Re: [csswg-drafts] [css-lists] How should spaces be treated in markers? (#4448)

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Nov 2019 20:39:12 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-552605582-1573504751-sysbot+gh@w3.org>
Here's my proposal for this issue:
1. Add `white-space` as a property that applies to `::marker`
2. Add `::marker { white-space:pre }` to the UA sheet
3. Mention that an [outside](https://drafts.csswg.org/css-lists/#list-style-position-outside) `::marker` box has its `display` value [blockified](https://drafts.csswg.org/css-display/#blockify). (This makes it clear that if an author overrides white-space with say `white-space:normal` then any trailing space in an outside marker's text is expected to be truncated as it normally would at the line end in a block.)

I think those changes would define how white-space should be handled unambiguously.
I think we can punt on the other issues for now (multiline marker, allowing more properties etc).

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4448#issuecomment-552605582 using your GitHub account
Received on Monday, 11 November 2019 20:39:13 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 2 July 2022 03:21:25 UTC