Bug Tracker

Opened 10 years ago

Closed 10 years ago

#9017 closed bug (worksforme)

Chrome Console Nested Filters Issue

Reported by: johnfarrar@… Owned by: johnfarrar@…
Priority: low Milestone: 1.next
Component: selector Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:


When I try and use nested filters in a CSS style selector in Chrome on my windows and my mac it works unless I run it from the console. Tried FireBug Lite and had the same issue. Sometimes it would run once in fact but never twice.

Change History (4)

comment:1 Changed 10 years ago by johnfarrar@…


<li class="lvl1">First Item</li> <li class="lvl1" id="item2">Second Item


<li class="lvl1">Sub Item 1</li> <li class="lvl1">Sub Item 2 <ul>

<li class="lvl1">This time we are going to put in a bunch of text hear just to enjoy searching the text and show the power of the content filters in jQuery selectors.</li>


</li> <li class="lvl1">Sub Item 3</li>

</ul> </li> <li class="lvl1">Third Item</li> <li class="lvl1">Fourth Item</li>


NOTE: Test case does not fail in jsfiddle, etc. Only in console.

jQuery('.lvl1:nth-child(2) ul .lvl2:first-child')

comment:2 Changed 10 years ago by johnfarrar@…

Here is the link to it working right.


comment:3 Changed 10 years ago by timmywil

Component: unfiledselector
Owner: set to johnfarrar@…
Priority: undecidedlow
Status: newpending

I'm a little confused. You do know that the demo in jsfiddle cannot be accessed by the web inspector console because it's in an iframe, right? It will work if you do something like this: http://jsfiddle.net/timmywil/MTZQY/7/

comment:4 Changed 10 years ago by Rick Waldron

Resolution: worksforme
Status: pendingclosed
Note: See TracTickets for help on using tickets.