Closed Bug 144603 Opened 22 years ago Closed 22 years ago

#text nodes between TR nodes cause nextSibling and previousSibling not to work as expected

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 26179

People

(Reporter: dennisw, Assigned: kinmoz)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2)
Gecko/20020510
BuildID:    2002051006

because there #text nodes inserted in the dom between each TR node, nextSibling
does not provide the next table row, but a blank #text node (and previousSibling
has similar problems)

Reproducible: Always
Steps to Reproduce:
1. create a table with multiple rows
2. attempt to navigate it with nextSibling/previousSibling


Actual Results:  have to use nextSibling.nextSibling to get to the next TR

Expected Results:  it should go to the next TR with nextSibling
off to kin
Assignee: anthonyd → kin
Looks like bug 26179....
sorry, nothing I tried in the search would turn up anything

*** This bug has been marked as a duplicate of 26179 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.