Opened 13 years ago

Closed 12 years ago

#2993 closed defect (wontfix)

dojo.html.getParentByType returns the node instead of the parent if they have the same type

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.4.2
Keywords: Cc: pat@…
Blocked By: Blocking:

Description

In getParentByType(node,type), if node is of that type, then getParentByType returns the node instead of an ancestor of that node.

Attachments (1)

test-getparent.html (681 bytes) - added by guest 13 years ago.
Test case shoing getParentByType bug

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by guest

Attachment: test-getparent.html added

Test case shoing getParentByType bug

comment:1 Changed 12 years ago by bill

Component: GeneralCore
Resolution: wontfix
Status: newclosed

Hmm, getParentByType() isn't supported at all in Dojo 0.9.

Note: See TracTickets for help on using tickets.