Closed
Bug 160794
Opened 24 years ago
Closed 24 years ago
TreeWalker.previousNode() returns null.
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
CLOSED
INVALID
People
(Reporter: stummala, Assigned: anthonyd)
Details
(Keywords: testcase)
Attachments
(1 file)
|
540 bytes,
text/html
|
Details |
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]
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
adding keyword and changing qa contact
| Reporter | ||
Comment 3•24 years ago
|
||
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
Updated•13 years ago
|
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•