Created
October 29, 2012 18:13
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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