Considering this question about a not-working CSS :first-child
selector.
The OP posted a question with a full HTML structure in the question, and later it was edited into an SO Snippet showing that everything was working.
Later, another user edited it again, adding the original code directly into the SO Snippet, making it invalid.
What happened here is that later editing became as follows (invalid HTML):
<html>
<head>
<!-- SO Snippet inserted tags -->
</head>
<body>
<!-- Start of pasted question code -->
<html>
<head>
...
That SO Snippet behaviour sometimes can lead to a wrongly-closed question (can't reproduce, working as intended, etc.).
Maybe SO Snippet should warn that it accepts only <body>
content when sees wrong HTML? Or allow to paste the full HTML content to be parsed correctly?