Simon Willison’s Weblog

Subscribe

What data structures are used to implement the DOM tree?

17th February 2013

My answer to What data structures are used to implement the DOM tree? on Quora

You may enjoy this post from Hixie back in 2002 which illustrates how different browsers deal with incorrectly nested HTML. IE6 used to create a tree that wasn’t actually a tree! http://ln.hixie.ch/?start=103791...

This is What data structures are used to implement the DOM tree? by Simon Willison, posted on 17th February 2013.

Next: Is Lanyrd any good?

Previous: Which restaurants in London serve orange or lemon sorbet served in a hollowed out orange or lemon?

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe