So here’s what may be a crazy new IE8 CSS bug that can be triggered under the right circumstances. At MothersClick we started to get a few bug reports about “my browser crashing” when viewing the site. As hard as we could try, we couldn’t get the site to crash any of the browsers we tried. Then with a brand new, clean install of IE8, Nick Robillard was able to get the site to crash and we finally had a reproducible crash on our hands.
My first reaction: WTF. (maybe these should be updated to be just IE in general)
My second reaction was the cause of this must be some sort of JavaScript or jQuery selector gone awry. Maybe even the IE PNG fix. But with JavaScript disabled, site was still crashing.
That meant it had to be some obscure HTML or even CSS? Reminds of 1 line IE6 bombers.
With much digging around we finally found it: a lone CSS3 selector that Internet Explorer has supported since version 5 crashing the site:
Removed that and voilà, no more crashing!
But that doesn’t make sense. That selector works on other sites, why not this one?
Looking through the CSS and HTML my hypothesis is:
While this hypothesis isn’t really that exact and no where near as comprehensive as the excellent cross browser bug reports at Position Is Everything, I hope it gives someone else enough ammo to figure out the basic use case that triggers this. I don’t think I have any hair left to proceed to figure out why :)
Add your comment