4 ms·
One of the most valuable aspects of HTML5 is that it defines a parsing model for "broken" HTML. This means tat, for the first time, it's possible to build a br
by simonw 9y ago
One of the most valuable aspects of HTML5 is that it defines a parsing model for "broken" HTML.
This means tat, for the first time, it's possible to build a brand new HTML parser that has a high chance of working against all existing HTML without needing to first reverse-engineer existing browsers.
Remember, when HTML5 was first designed Internet Ecplorer was by far the most widely used browser. And IE was closed source. If you wanted to build a parser you needed to first reverse engineer IE and figure out how it handles invalid HTML.
The HTML5 spec fixed that. The thing you are complaining about here (HTML5 making it harder to build a new browser from scratch) is one of the things HTML5 actually solved!