[Webkit-unassigned] [Bug 71190] Document.importNode's 'deep' argument should default to true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 2 01:48:15 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=71190





--- Comment #4 from Vineet Chaudhary (vineetc) <rgf748 at motorola.com>  2011-11-02 01:48:15 PST ---
(In reply to comment #3)

> According to the spec (http://www.w3.org/TR/DOM-Level-3-Core/core.html#i-Document), the IDL should be
> 
>     Node importNode(in Node importedNode, in boolean deep)
> 
> This means that both "importedNode" and "deep" must not be optional, in the first place. So I think that the right fix to this issue is just to make "deep" a mandatory argument. Are there any concerns about backward compatibility for doing it?

I agree that w3c spec doesn't say "importedNode" and "deep" are optional but same time w3c test http://w3c-test.org/webapps/DOMCore/tests/submissions/Ms2ger/Document-importNode.html expects that if "deep" is missing then it should behave like it is true but not false.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list