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

> ### 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