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

Re: [csswg-drafts] [css-lists] Interaction of ::marker with other pseudo-elements. (#3826)

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 Apr 2019 22:14:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-483864174-1555452879-sysbot+gh@w3.org>
> ### If they do... Do those markers generated by pseudo-elements match selectors from the page?
>
> WebKit and Gecko's implementation do show two red bullets here:

Gecko's implementation obviously does, but has a bug when changing the styles. I've reported that as [bug 1544959](https://bugzilla.mozilla.org/show_bug.cgi?id=1544959).

>> * Does `display` apply to `::marker`? And thus, can `::marker` boxes be list items?
>
> Currently `display` does not apply to `::marker` (https://drafts.csswg.org/css-pseudo-4/#marker-pseudo), so they cannot be list items.

In the Firefox implementation at least `display: none` obviously applies to it and causes the marker(s) not to be displayed. The other display values including `list-item` have no effect on it, though.

Sebastian


-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3826#issuecomment-483864174 using your GitHub account
Received on Tuesday, 16 April 2019 22:14:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:07 UTC