Steps to replicate the issue (include links if applicable):
- Place
# #*
on a page (also try pasting multiple instances of this).
What happens?:
See https://test.wikipedia.org/wiki/T317991 for a demonstration.
What should have happened instead?:
List should either have extended the page content area or not displayed in the first place (as done with truly empty list items, i.e. ones that don't even contain other empty lists).
Edit: Tested in Firefox 104 on Windows 10, but does not seem to be an issue in Edge 105.