Nested notes/examples interacts poorly with collapsing alternate CSS
Closed this issue · 6 comments
Trying to expand the inner note/example will instead hide everything. For example, the example in the note at http://eel.is/c++draft/class.conv.ctor#2.note-1
I don't want to use Javascript for this thingy, and as far as I can tell, the only way to do it with CSS is with :has()
, which apparently no browser currently supports.
So I hope you're patient, because this may take a decade to fix. :)
Not even :has()
, since it apparently can't be used in stylesheets. This might take a few decades 😂
Wow, I didn't realize they introduced those Selector Profiles specifically to make :has()
not work by default. What a mess...
The perhaps more practical fix - if we want to fix this at all - is to have only one level of collapsing (e.g., uncollapsing a note also shows any nested examples).
One level of collapsing wouldn't solve the problem I think, because the problem already occurs when a sentence inside a (non-nested) uncollapsed note is selected.
Closing because the stylesheet was removed.