Closed Bug 160794 Opened 24 years ago Closed 24 years ago

TreeWalker.previousNode() returns null.

Categories

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

x86
All
defect

Tracking

()

CLOSED INVALID

People

(Reporter: stummala, Assigned: anthonyd)

Details

(Keywords: testcase)

Attachments

(1 file)

BuildID: 2002-07-31-08 TreeWalker.previousNode() returns null where as it is supposed to return [object HTMLBRElement]. doc = document.getElementsByTagName('body')[0] var walker = document.createTreeWalker(doc, NodeFilter.SHOW_ELEMENT, null, false); alert (walker.previousNode); Reproducible: Always Steps to Reproduce: 1.load the testcase 2. 3. Actual Results: null Expected Results: [object HTMLBRElement]
Attached file testcase
adding keyword and changing qa contact
Keywords: testcase
Priority: -- → P3
QA Contact: lchiang → stummala
Looks like this is invalid. I am trying to step upward from the root. If the search for previousNode attempts to step upward from the TreeWalker's root node, returns null And the behaviour is correct.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
closing bug
Status: RESOLVED → CLOSED
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: