Skip to content

Instantly share code, notes, and snippets.

@OlivierJaquemet
Created October 29, 2012 18:13
Show Gist options
  • Save OlivierJaquemet/3975396 to your computer and use it in GitHub Desktop.
Save OlivierJaquemet/3975396 to your computer and use it in GitHub Desktop.
IE 9 will crash when opening this file on a web server configured in the local intranet zone.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="fr" xml:lang="fr" dir="ltr" xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Test Crash IE</title>
<style type="text/css">
tr:nth-child(odd) {
}
</style>
</head>
<body>
<p>
Open this page in IE9, on a website configured in local intranet zone.
</p>
<ol>
<li>
<input type='text' style='display: none;' />
<input type='text' style='display: none;' />
</li>
</ol>
<script></script>
<script>
var form = document.createElement("div");
var root = document.documentElement;
root.insertBefore( form, root.firstChild );
root.removeChild( form );
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment