-
Notifications
You must be signed in to change notification settings - Fork 679
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
Figure out some way to trigger ::marker without being a list item #6781
Comments
There's also no reason why the |
I agree, but note we skipped that originally based on the impl complexity of supporting (Tho we already support |
FYI, I implemented a working prototype for that in 2019 in Gecko. At that time, I also implemented Anyway, I'd be happy to dust off those patches if the csswg is interested in moving forward on this topic... |
Three possible ways forward here:
|
I'm afraid that by now there will be various sites using |
In #6738, @MatsPalmgren brings up a perf issue they noticed where a document with a ton of
summary
elements becomes extremely slow, because each of them touches thelist-item
counter due to beingdisplay: list-item
(because we're using::marker
to display the disclosure triangle).The perf problem is tangential (it applies to any enormous list), but in that issue Mats correctly points out that the fact we're using
display: list-item
at all is pretty hacky. For context, this was decided on back in 2016/2017, in a conversation spanning implementors, WHATWG editors, and CSSWG editors. It didn't have a great motivation behind it other than it seemed to work reasonably well and didn't involve us inventing anything new.That said, maybe we should invent something new? I do wonder if this is compat-bound by now, tho.
The text was updated successfully, but these errors were encountered: