Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#9968 closed bug (invalid)

Siblings() not function correctly under chrome

Reported by: asterocean Owned by: asterocean
Priority: low Milestone: None
Component: effects Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:


  1. The version(s) of jQuery affected

Version 1.6.2

  1. The browser (or browsers) that you are able to reproduce the bug in, including version numbers

Chrome 12.0.742.112 and Android 2.3.3 default browsers.

  1. The operating system (or operating systems) you experienced the bug on.

Windwows XP Professional 2002 Service Pack 3

  1. Step-by-step instructions on how to reproduce the issue, including any required system configuration changes

http://www.fmsoft.cn/espier/index.html & http://www.fmsoft.cn/espier/index2.html are identical except index.html using jquery.1.1.4 otherthan index2.html using jquery.1.6.2 . index.html function corectly, but index2.html is a mess under chrome. Beside, index2.html could function correctly under ie/firefox. the core code is : $(this).next("span").slideToggle("fast").siblings("span:visible").slideUp("fast");

  1. A description of what you expect to happen, and what actually happens

when click on one title , all other panels under other titles should been colsed, but they don't.

Change History (3)

comment:1 Changed 12 years ago by timmywil

Component: unfiledeffects
Owner: set to asterocean
Priority: undecidedlow
Status: newpending

Thanks for taking the time to contribute to the jQuery project! I can't seem to open the given urls. Perhaps you could provide a reduced test case on http://jsfiddle.net to help us assess your ticket.

comment:2 Changed 12 years ago by asterocean

Status: pendingnew

sorry for not familiar with jsFiddle before, i put it on jsFiddle now.

with jquery 1.6.2 http://jsfiddle.net/asterocean/FaLkD/

same code with jquery 1.2.6, the correct one. http://jsfiddle.net/asterocean/vMS58/

please test using chrome or other android phones' default browsers.

ps. jquery 1.5.2 / 1.4.4 / 1.3.2 have the same problem.

comment:3 Changed 12 years ago by dmethvin

Resolution: invalid
Status: newclosed

I stepped through that code in Chrome 13.0.782 and verified that .siblings("div") properly returned only the div elements. It sounds like this is a Chrome bug for some specific version.

Note: See TracTickets for help on using tickets.