Re: [csswg-drafts] [css-display][css-pseudo] Is ::marker created by display:list-item or does it always exist?

I would prefer limiting `::marker` to elements that have `display: list-item`.  Checking for pseudo-elements can be somewhat expensive, and I'd rather not have to check everything for `::marker` all the time.

I don't have a strong opinion on whether `::marker` should be attachable to other pseudo-elements that have `display: list-item`.  (I don't think you should be able to make a `::marker` `display: list-item`, and Tab agrees above, so I don't think there's an issue with nesting `::marker` once it's restricted to `list-item`.)

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

Received on Tuesday, 20 March 2018 23:38:37 UTC