Bug 86377 - cloneNode with no arguments should default to deep == true
Summary: cloneNode with no arguments should default to deep == true
Status: RESOLVED DUPLICATE of bug 78887
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-14 08:37 PDT by Boris Zbarsky
Modified: 2012-05-14 13:55 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Zbarsky 2012-05-14 08:37:29 PDT
IDL at http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html says:

    Node cloneNode(optional boolean deep = true);

WebKit uses deep == false when no argument is passed.  Gecko gets this right.
Comment 1 Alexey Proskuryakov 2012-05-14 13:49:16 PDT
So the spec still hasn't been fixed? It should.

*** This bug has been marked as a duplicate of bug 78887 ***
Comment 2 Ms2ger (he/him; ⌚ UTC+1/+2) 2012-05-14 13:55:14 PDT
No.