IE8 'Find': huge performance issues with large table when doctype declared
IE8 and below are having huge performance issues when it comes to searching a larger table (1000+ rows).
I set up a very simple test case that demonstrates this behavior. The pages are exactly the same, except one has an HTML5 doctype declared:
- With Doctype
- Without Doctype
(In IE, Ctrl+F and search for the ID: 1400)
Firefox, Safari, and Chrome don't have any problems finding any data in the table extremely quickly using the browser's native "Find" feature. IE9 (Win7) is slightly slower, but acceptable. IE8 (XP) stalls horribly and takes upwards of 10+ seconds to find something and locks up while it's processing.
I'm currently using an HTML5 doctype, and it validates with no errors. However, if I remove the doctype declaration, IE8 speeds up significantly. (Having no doctype messe开发者_JS百科s up my site layout, so it's not an acceptable solution.)
Any suggestions? I unfortunately can't paginate this data - client needs all rows visible on one report on one webpage.
there are performance issues with IE8 and heavy table usage. This is a browser issue and there is nothing to do with it. Maybe Microsoft can push out patch for it.
精彩评论