Skip to main content

Bug Tracker

Side navigation

#3878 closed bug (duplicate)

Opened January 15, 2009 04:22PM UTC

Closed January 17, 2009 07:02PM UTC

:has(p+p) goes into never-ending loop

Reported by: john Owned by: john
Priority: major Milestone: 1.3.1
Component: selector Version: 1.3
Keywords: Cc:
Blocked by: Blocking:
Description

I get:

"A script on this page may be busy, or it may have stopped responding.

You can stop the script now, open the script in the debugger, or let

the script continue."

With the code:

$('div:has("p+p')')

And the HTML:

<div><p>1</p></div>

This worked fine with jQuery 1.2.6.

Test case: http://jsbin.com/atiha/edit

Tested in FF3, IE7 and Chrome.

Attachments (0)
Change History (1)

Changed January 17, 2009 07:02PM UTC by john comment:1

resolution: → duplicate
status: newclosed

As it turns out this was the same bug as #3837.