Internet Explorer Hanging or Crashing

This rare issue can occur due to a bug in Internet Explorer quirks mode (legacy rendering) in the specific following conditions:

  1. IE6 is used, or the document forces IE to render in legacy mode; AND
  2. The HTML markup is invalid and is missing closing tags.

When both of these conditions are met, Internet Explorer can create recursive referencing in the DOM hierarchy and any script attempting to enumerate the elements of the DOM will get caught in an infinite loop, effectively hanging or crashing the browser.

To resolve this issue, ensure the HTML markup of the page is valid and/or disable quirks mode in the document type declaration.