Why does this HTML crash IE?

I have a page that causes IE 8 to crash. I’ve dumbed it all the way down to just the html/javascript that causes the crash.
I know I’m going to have to do something different for displaying the page how I want in IE without breaking it. Is anyone aware of a way that I can report this to the IE team to get it fixed?

The crash happens when you mouse over the span. Create a scratch .html file to test. Using jsfiddle doesn’t crash it.

  • Emulate Crash Recovery in Internet Explorer 8
  • Chrome setInterval crashes at 10000 ms
  • Visual Studio 2015 crashes when opening Javascript files
  • Detect FLASH plugin crashes
  • Will infinite scroll cause browser crashes?
  • Web Audio API Delay With Feedback Crashing Chrome
  • Update: Make sure IE isn’t in compatibility mode to get it to crash.
    Update2: It crashes in safe mode too, so it isn’t an add-on causing the problem. I have tried it on multiple computers.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <title>test</title>
        <style type="text/css">
            .condPartHover
            {
                border-color: #000000;
                background-color: #E5F0F9;
                color: #1D5987;
            }
        </style>
    </head>
    <body>
       <ul>
        <li>
            <div>Testing:
                <div style="position:relative; display:inline-block; height:25px;">
                    <span style="position:absolute; top:0px; left:0px; border:1px solid #000000; background-color:White;" onmouseover="this.className = 'condPartHover';">test
                    </span>
                </div>
            </div>
        </li>
       </ul>
    </body>
    </html>
    

  • iOS 7:UIWebView (Safari) crashes due to memory overflow
  • Django, Javascript: Form injected into DOM via javascript innerHtml crashes google chrome tab on submit. Works in IE
  • My website keeps crashing IE, can't debug
  • strange WebKit Error in UIWebView - can this be catched?
  • Purposely Crash Chrome Tab for Chrome Extension
  • Web Audio API Delay With Feedback Crashing Chrome
  • 3 Solutions collect form web for “Why does this HTML crash IE?”

    Is anyone aware of a way that I can report this to the IE team to get
    it fixed?

    Yes, go to http://connect.microsoft.com/ , enter “Internet Explorer Feedback Program” in the search box and it’ll give you a link to report bugs like this to the IE team. They do read/act on them, though don’t expect anything quick. Whether a bug in an old version of IE is deemed worthy of fixing I don’t know though. It might be only security fixes that are still applied to IE8 nowadays, not any fix that will change the HTML rendering or Javascript behaviour.

    Try with mouseOver or mouseEnter with jQuery.

    $('span').mouseover(function() {
      $('span').addClass("condPartHover");
    });
    

    In addition this method you are using is not HTML valid anymore.

    Your doctype is incorrect and you are in quirks mode. If you must use the xhtml doctype, use this one:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">