-
Notifications
You must be signed in to change notification settings - Fork 707
[css-display] ::marker is not a box #1625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you please show an example when |
I think styling However, I think I read implementations don't want to allow arbitrarily deep structures of pseudo-elements, because that's expensive. So just like you can't insert a |
This quote from Introduction should be edited too:
I guess saying this "marker box" concept is a reminiscence from CSS 2.1, which didn't allow to style the About the quote in Introduction, I would just use another example. An element can originate a pseudo-element which can generate boxes, so saying that these boxes are originated by the element itself is not entirely wrong. But I would prefer not to say so; otherwise #1604 would worsen, because an element is not supposed to generate more than one principal box. Instead, the example could mention |
After I filed this issue, CSS Lists was edited. Now it says that the whole spec is not ready for implementation and |
Yeah, I just moved the warning from being manually added to a few sections to being generated by Bikeshed; the spec hadn't been seriously edited for years and wasn't using the newer Bikeshed features.
Yup, Pseudo reflects the current WG consensus on what ::marker should be allowed to do, so I'm just deferring to that. It's basically "what have people actually asked to do with markers", or "what can you currently do to markers by abusing inheritance and wrappers" (setting a style on the list item, then unsetting it on a wrapper around the list-item's contents). There's no problem with relaxing it in the future, there's just no call for it currently. If you want to do arbitrary things, you have ::before. You can even use |
From Generating Marker Boxes,
::marker
is a pseudo-element which may generate a box. But it can also generate multiple boxes or no box. I think it should say something likeAnd consider linking CSS Lists Markers, because CSS Pseudo-Elements Markers seems obsolete.
The text was updated successfully, but these errors were encountered: