Yep, same code with just Sizzle and

onload = function(){
            alert(Sizzle('.test:not(:first)', document).length);
        };

produce 2 in IE and Safari 3, hope this help. I could investigate more if
necessary.
Regards

On Wed, Aug 5, 2009 at 1:23 PM, Andrea Giammarchi <
andrea.giammar...@gmail.com> wrote:

> apparently the same happens with IE ... I guess it is Sizzle problem.
> length 2 for IE and Safari 3, 1 for FF 3.5, Chrome 2, Safari 4, Opera 10
>
>
> On Wed, Aug 5, 2009 at 12:58 PM, smurkas <marcus.dalg...@gmail.com> wrote:
>
>>
>> Hello again John. I am not sure about the best way of posting a
>> minimal test case but I put one up on pastebin on this address:
>> http://pastebin.com/m4a61f583
>> The page only contains two divs with the same class and the selector
>> code I wrote above. Works in Firefox 3.5 but not in Safari 3.2.1-3.2.2
>> and IE 8.
>>
>> If you want it posted in some other way please let me know.
>>
>>
>> Thank you for the help,
>> Marcus
>>
>> On 5 Aug, 07:29, John Resig <jere...@gmail.com> wrote:
>> > Not a known bug that I know of. Do you have a test case that we can use
>> to
>> > reproduce?
>> >
>> > --John
>> >
>> > On Mon, Aug 3, 2009 at 6:11 PM, smurkas <marcus.dalg...@gmail.com>
>> wrote:
>> >
>> > > Hello.
>> >
>> > > While developing a site for a client I made a page where I hid all the
>> > > div:s with the class news_container like this
>> > > $('.news_container:not(:first)').hide();
>> > > This works great in Mozilla and Safari 4 (I haven't tried Chrome yet)
>> > > but both Safari 3.2.1 and 3.2.2 hide all the div:s, including the
>> > > first one. This happens in IE 8 as well.
>> >
>> > > Am I writing it wrong or is this a known bug in these browsers or in
>> > > jQuery?
>> >
>> > > I am running a minified jQuery 1.3.2 revision 6246.
>> >
>> > > Any help would be greatly appreciated.
>> >
>> > > Kindly, Marcus
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to