by uto · 10y ago · 0 comments
Is there a way to do it in a standardised way or should that even be desired? All browsers I've tried seem to render it fine and quickly (assuming js and the normal bells and whistles).
https://ageitgey.github.io/amplify/2016/03/08/example-post.h...
> AMP validation successful.
not sure what you mean
> AMP validation successful.
Maybe I'm missing something? I literally learned how to validate AMP pages from[1] 59 minutes ago :)
That says a lot about HTML validation, then.
Thanks, WebKit (etc) authors! You worked hard so others don't have to.
The W3C HTML 4 spec didn't waste a word on parsing and simply referred to SGML [4], which (for very good reasons) no relevant browser actually implemented. Obviously, browser developers did some crazy/remarkable things before the WHATWG came along, but a lot of credit for today's lenient HTML parsing certainly belongs with the WHATWG.
[1] https://webkit.org/blog/1273/the-html5-parsing-algorithm/
[2] https://blogs.msdn.microsoft.com/ie/2011/07/06/html5-parsing...
[3] https://hacks.mozilla.org/2010/05/firefox-4-the-html5-parser...