Opened 13 years ago

Closed 12 years ago

#2023 closed enhancement (wontfix)

[pathc][cla] Implement BUFakeNode.cloneNode() method in BUFakeDom.js

Reported by: james@… Owned by: alex
Priority: high Milestone: 0.9
Component: TestFramework Version: 0.4
Keywords: Cc:
Blocked By: Blocking:

Description

It would be good to include a cloneNode() method for BUFakeNode in testtools/JsFakeDom/BUFakeDom.js. I've written a simple implementation which I'll attach.

My CLA is in the mail.

Attachments (3)

cloneNode.patch (1.2 KB) - added by james@… 13 years ago.
Implementation of BUFakeNode.cloneNode()
cloneNode.2.patch (1.4 KB) - added by james@… 13 years ago.
Improved cloneNode(), copies selected properties from the old Node.
cloneNode.3.patch (2.0 KB) - added by james@… 13 years ago.
BUFakeNode.cloneNode() now copies all basic properties, then initializes the clone.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by james@…

Attachment: cloneNode.patch added

Implementation of BUFakeNode.cloneNode()

Changed 13 years ago by james@…

Attachment: cloneNode.2.patch added

Improved cloneNode(), copies selected properties from the old Node.

Changed 13 years ago by james@…

Attachment: cloneNode.3.patch added

BUFakeNode.cloneNode() now copies all basic properties, then initializes the clone.

comment:1 Changed 12 years ago by dylan

Milestone: 0.9
Summary: Implement BUFakeNode.cloneNode() method in BUFakeDom.js[pathc][cla] Implement BUFakeNode.cloneNode() method in BUFakeDom.js

comment:2 Changed 12 years ago by Adam Peller

Resolution: wontfix
Status: newclosed

we don't use the fakedom stuff anymore

Note: See TracTickets for help on using tickets.