Side navigation
#9017 closed bug (worksforme)
Opened April 29, 2011 01:53PM UTC
Closed April 29, 2011 03:15PM UTC
Chrome Console Nested Filters Issue
Reported by: | johnfarrar@sosensible.com | Owned by: | johnfarrar@sosensible.com |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | selector | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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.
Attachments (0)
Change History (4)
Changed April 29, 2011 01:55PM UTC by comment:1
Changed April 29, 2011 02:41PM UTC by comment:2
Here is the link to it working right.
Changed April 29, 2011 03:05PM UTC by comment:3
component: | unfiled → selector |
---|---|
owner: | → johnfarrar@sosensible.com |
priority: | undecided → low |
status: | new → pending |
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:
Changed April 29, 2011 03:15PM UTC by comment:4
resolution: | → worksforme |
---|---|
status: | pending → closed |
Works for me
<ul>
<li class="lvl1">First Item</li>
<li class="lvl1" id="item2">Second Item
<ul>
<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>
</ul>
</li>
<li class="lvl1">Sub Item 3</li>
</ul>
</li>
<li class="lvl1">Third Item</li>
<li class="lvl1">Fourth Item</li>
</ul>
NOTE: Test case does not fail in jsfiddle, etc. Only in console.
jQuery('.lvl1:nth-child(2) ul .lvl2:first-child')