Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

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>
like image 671
xbrady Avatar asked Nov 22 '11 18:11

xbrady


People also ask

Why does IE keep crashing?

The most common causes of Internet Explorer crashes like this are toolbars, add-ons, or Browser Helper Objects.

Why does Internet Explorer 11 keep crashing Windows 10?

Internet Explorer crashes in Windows 10 are caused by the browser itself or malware. If you have this problem with your browser you should think to change it with another solution. To fix the Internet Explorer browser, you can try to reset it to default using its settings.


1 Answers

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.

like image 112
Michael Low Avatar answered Sep 18 '22 19:09

Michael Low