Bug Tracker

Changes between Version 1 and Version 2 of Ticket #7263, comment 3


Ignore:
Timestamp:
Oct 21, 2010, 6:29:11 PM (12 years ago)
Author:
jitter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7263, comment 3

    v1 v2  
    88pass in an object as `is` will always return false in such a case.
    99
    10 ~~Some of the remaining sample tests are false negatives to me. The thing to keep in mind is that the `is`-function uses the matched elements as context not the document.
     10~~Some of the remaining sample tests are false negatives to me. The thing to keep in mind is that the `is`-function uses the matched elements as context not the document.~~
    1111
    12 [http://jsfiddle.net/jitter/hBkxs/ live test case] with explanations why I think most use cases work right.
     12~~[http://jsfiddle.net/jitter/hBkxs/ live test case] with explanations why I think most use cases work right.~~
    1313
    14 But there seems to be some kind of a bug. If you look at the last two tests
     14~~But there seems to be some kind of a bug. If you look at the last two tests~~
    1515
    1616{{{
     
    2828}}}
    2929
    30 Both should return `false` in my opinion as there is only a `li` in the set of matched elements which neither has the class `test` assigned nor has it any `li` children.
     30~~Both should return `false` in my opinion as there is only a `li` in the set of matched elements which neither has the class `test` assigned nor has it any `li` children.~~
    3131
    32 If you switch from 1.4.3 to 1.4.2 another strange thing happens.
     32~~If you switch from 1.4.3 to 1.4.2 another strange thing happens.~~
    3333
    34 The `filter` test returns `false` correctly but the `is` test still returns `true`. So we have both a regression in `filter` and a case where
     34~~The `filter` test returns `false` correctly but the `is` test still returns `true`. So we have both a regression in `filter` and a case where~~
    3535
    3636{{{
     
    3838}}}
    3939
    40 which shouldn't happen.~~
     40~~which shouldn't happen.~~
    4141
    4242More discussion needed. Does someone follow my view on this?