This CSS code can crash Internet Explorer 6 if embedded in a page:
<style>*{position:relative}style><table><input />table>
IE7 appears to load the page, but if you open a new tab, it crashes on navigation.
Try it here. You’ve been warned. Firefox, Opera, Safari and text-mode users aren’t affected.
I can’t take credit for this, unfortunately. Hamachiya discovered this a few days ago, and it’s repeated here. Apparently, mshtml.dll looks at it as a rogue request and closes down.
This is another unfortunate example of Explorer’s continuing inability to handle the most basic of standards. Of course, it’s bad code, but the browser should know enough to disregard it.
I still get “Your page l00ks teh gay in Explorer” emails, and in response, I’m tempted to embed that code in my stylesheets. It seems a bit ham-handed and capricious, but still…should I?