Skip to main content

Bug Tracker

Side navigation

#168 closed bug (fixed)

Opened September 01, 2006 07:30PM UTC

Closed September 16, 2006 04:26PM UTC

Last modified June 21, 2007 03:01AM UTC

sibling() returns siblings and the subject

Reported by: jon@jonwiley.com Owned by:
Priority: major Milestone: 1.0
Component: core Version: 1.0
Keywords: DOM sibling siblings Cc:
Blocked by: Blocking:
Description

JavaScript:

$('span#callMe').siblings();

HTML:

<div><span id="callMe">Text 1</span><span>Text 2</span></div>

Returns:

[<span id="callMe">,<span>]

Should only return [<span>]

Attachments (0)
Change History (2)

Changed September 09, 2006 05:28PM UTC by joern comment:1

Added a test for this to SVN, the problem still exists. FF fails on 2 of 3 tests, IE fails completly.

Changed September 16, 2006 04:26PM UTC by joern comment:2

resolution: → fixed
status: newclosed

Fixed in SVN, tested in FF 1.5, IE6 and Opera 9.01