-
…in reply to @AmeliasBrain
AmeliasBrain meyerweb None of the above. ::before/::after are children of the real element, so I'd expect pseudos to hide/show with the summary element, and I'd expect ::before to come before the content of the <summary> but not before the <summary> itself.