diff --git a/files/en-us/web/api/document/importnode/index.html b/files/en-us/web/api/document/importnode/index.html index c93142be415b341..bb3d3d30a33385a 100644 --- a/files/en-us/web/api/document/importnode/index.html +++ b/files/en-us/web/api/document/importnode/index.html @@ -48,25 +48,6 @@
externalNode
is imported — the new node has no children.
-
- Note: In the DOM4 specification, deep
- was an optional argument with a default value of true
.
This default has changed in the latest spec! The new default
- value is false
.
Best Practice: Though it's still an optional argument, you
- should always provide the deep
argument for backward
- and forward compatibility.
deep
has no effect on empty elements (such as
the {{HTMLElement("img")}} and {{HTMLElement("input")}} elements).
Note: In the DOM4 specification (since Gecko 13.0
- {{geckoRelease(13)}}), the optional deep
argument defaults
- to true
.
This behavior has been changed in the latest spec!
- Although deep
it still optional, it now defaults to
- false
.
You should always provide an explicit value for backward and - forward compatibility.
- -