That's been part of HTML rendering since just about always. Anything a browser doesn't recognize it will ignore. Improperly nested or closed elements are essentially arbitrary.
I've seen arguments saying the only way to "fix the web" is for browsers to always render strict. Of course the other side chants "strict in what you emit, liberal in what you accept".