3 ms·
Implementing an HTML parser is not hard—the spec is a book of instructions on what to do. Implementing a fast HTML parser that will produce a fast DOM is a lit
by chrismorgan 9y ago
Implementing an HTML parser is not hard—the spec is a book of instructions on what to do.
Implementing a fast HTML parser that will produce a fast DOM is a little harder.
Tying it in with a fast CSS engine is harder still.
Tying it in with a JavaScript engine is a bit more work as well.
Implementing layout is moderately fiendishly difficult to do and get right.
And it just gets harder the more of the web platform you add, and the more it has to be fast.