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

Re: [csswg-drafts] [css-pseudo] ::first-letter should skip all decendant ::markers, not just the block's own ::marker (#4503)

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Sat, 09 Nov 2019 19:38:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-552130492-1573328326-sysbot+gh@w3.org>
>  is generated between #f::before and the text run item

No, the `::marker` box comes before `::before` per [css-lists](https://drafts.csswg.org/css-lists/#marker-pseudo).

Also, a list item `::marker` has a very clear semantic meaning of being a label for the item and not being a part of the item's content. `::before/::after` are a bit more general purpose and usually they render as being part of the paragraph.  Furthermore, a `::marker` is typically just a digit/letter whereas `::before/::after` is typically at least a phrase or sentence. So excluding (all) markers and including `::before/::after` seems reasonable to me.

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4503#issuecomment-552130492 using your GitHub account
Received on Saturday, 9 November 2019 19:38:49 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:56 UTC