Skip to main content

Bug Tracker

Side navigation

#12941 closed bug (duplicate)

Opened November 22, 2012 06:15AM UTC

Closed November 22, 2012 03:03PM UTC

Some selector in Jquery(sizzle embed)-1.8.2 seems slower than jquery1.7.2 WHEN uses IE7 or lower version browser

Reported by: tomleader4444@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

$('#id1,#id2').

I had written 2 simple examples about it.

http://jsfiddle.net/WSA6f/

http://jsfiddle.net/WSA6f/1/

The two are both the same html and javascript code,except the onload-jquery-library,the 1st one contains jq-1.8.2 and the 2nd uses jq-1.7.2.

USE IE(<=8,cause I add a meta 'X-UA-Compatible' to make IE8 likes IE7) to open the example url,check the cost time and u'll see the 1st cost about 40ms and the 2nd cost only 1ms.

I had also post an issue on GITHUB project jquery-sizzle,the url is

https://github.com/jquery/sizzle/issues/173

or we can discuss about it.

Attachments (0)
Change History (1)

Changed November 22, 2012 03:03PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

The Sizzle bug is the right place, thanks! I'll close this ticket.