#8720 closed bug (duplicate)
:has fails with some combinations of other selectors
Reported by: | danheberden | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | selector | Version: | 1.5.1 |
Keywords: | :has | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
Since there were a few other tickets expressing different parts of the busted functionality, I opted to place all of them together in one bug and leave a good test case that can easily be updated to test/express further issues.
So if you are having troubles with :has in your selector, comment here and fork the test-case with new tests showing how it fails.
http://jsfiddle.net/danheberden/F7gzn/
Currently:
:has( li:eq( 2 ) ) :has( li:lt( 1 ) ) :has( li:gt( 1 ) ) :has( .test:not( .done ) ) // but :has( :not( .done ).test ) works :has( li:not( :contains( nup ) )
Change History (9)
comment:1 Changed 12 years ago by
Component: | unfiled → selector |
---|---|
Keywords: | :has added |
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 12 years ago by
comment:5 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:7 Changed 12 years ago by
Added ul:has(.whatever:contains(bar))
http://jsfiddle.net/AlistairB/F7gzn/5/
This bug should be at least med priority IMHO.
comment:8 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
#2683 is a duplicate of this ticket.