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

Right, as I've said [before](https://github.com/w3c/csswg-drafts/issues/3809#issuecomment-480862184), I'm opposed to introducing arbitrary unnecessary styling restrictions on `::marker`. It's much simpler for everyone (spec authors, implementors, authors) if it behaves the same as `::before/::after`.

There are still some uncertainty about the exact layout model for outside markers (#3771), so feel free to add an ISSUE note about that in the spec, but my gut feeling is that we can allow pretty much  all of CSS on those too. We definitely should allow `display:none` to suppress the box.

I don't see a reason treat `content`/non-`content` markers differently. (Gecko _currently_ has two code paths, where the non-`content` legacy code path has some restrictions, but I consider that to be a temporary implementation bug that we'll fix soon.) Given that `::marker` is relatively new, I don't see any web-compat concerns that could justify introducing styling restrictions.

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

Received on Saturday, 20 April 2019 18:25:50 UTC