While reading an answer over on Puzzling.SE, I noticed that having a spoiler in a list hides the item number/bullet. I can demonstrate it here. (It seems to be an issue only in Chrome.)

Ordered lists.

  1. This is a spoiler in a list. You can't see the number unless you hover the spoiler.

  2. Numbering continues as expected.
  3. The issue can be reproduced multiple times in a single list.

    It even holds when a list item consists of multiple paragraphs.

Unordered lists.

  • The issue holds in unordered lists as well.
  • This can be seen here.

  • The number/bullet is not hidden when the spoiler is not the first part of the list item.


  • 2
    No-repro for me on Firefox, macOS but I do have an issue with Edge.
    – Glorfindel Mod
    Apr 10, 2018 at 13:38
  • 1
    Many users have an issue with Edge @Glorfindel
    – rene
    Apr 10, 2018 at 13:42
  • 2
    Repro-ed in Chrome/ Win10
    – rene
    Apr 10, 2018 at 13:43
  • Yeah, that wording was deliberately chosen.
    – Glorfindel Mod
    Apr 10, 2018 at 13:43
  • Cannot reproduce in Edge 41. Apr 10, 2018 at 14:43
  • Works fine in the iOS app. (Bullets are visible) doesn't work properly in safari for iOS, though.
    – Catija
    Apr 10, 2018 at 17:21

1 Answer 1


This seems like a bug in WebKit / Blink - they're applying the child selector for the first child of the list element (.spoiler:not(:hover)>*) to the list marker.

Note that if the spoiler isn't the first child of the list item, this doesn't happen:

  • one
  • B

    spoilerly spoiler

  • 3
  • If you can reproduce it in Safari, it's in WebKit. Apr 26, 2018 at 17:08
  • I don't have Safari, but from the comments it appears there too?
    – Shog9
    Apr 26, 2018 at 17:14
  • I'm a Windows/Android fan, and don't have access to an Apple device to test it on. Otherwise, I'd tell. Apr 26, 2018 at 17:15
  • I'd file a bug on Google's issue tracker, since the bug does exist in Blink. Link me to the relevant issue if you do. Apr 26, 2018 at 17:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .