Internet Explorer 7 crashing with valid HTML and CSS

Made it save to this page in IE7, good, now you have three options:

Whatever option you take say bye bye.

The same test with a future IE 8 in standard mode due to an unknown doctype.

This bug with IE7 was initially discovered by Antonio Bueno. Another test of the bug appears on Gérard Talbot's website.

The code


.classtest[value=""] {background-color: #ddddff;}


<button name="action" type="submit" value="edit" class="classtest">Please Click</button>
  1. Test One
  2. Test Two