Baseline Widely available
ì¸ë¶ 문ìë¡ë¶í° ë
¸ë를 ê°ì ¸ì¨ë¤. í´ë¹ ë
¸ëì ê·¸ íìí¸ë¦¬ë 기존ì 문ììì ì§ìì§ê³ í´ë¹ ë
¸ëì ownerDocument
ë íì¬ ë¬¸ìë¡ ë°ëë¤. ê·¸ë¦¬ê³ ê·¸ ë
¸ëë íì¬ì 문ìì ì½ì
ëë¤.
node = document.adoptNode(externalNode);
node
ë íì¬ ë¬¸ìì ì½ì
ë ë
¸ë를 ì미. ìì§ í´ë¹ 문ìì ì½ì
ë기 ì ì´ê¸° ë문ì ìë¡ì´ ë
¸ëì parentNode
ë null
ì´ë¤.
externalNode
ë ë ¸ë를 ê°ì ¸ì¤ê¸° ìí ì¸ë¶ 문ìì ìë ë ¸ë를 ì미.
ë³´íµ adoptNode
í¸ì¶ì ë¤ë¥¸ ë°©ìì¼ë¡ 구íë ê³³ìì ë
¸ë를 ë¶ë¬ì¤ê¸° ë문ì ì¤í¨íë ê²½ì°ê° ë§ë¤. íì§ë§ ë¸ë¼ì°ì ë¡ ì¸í 문ì ì¸ ê²½ì°ë 문ì ê° ëë¤.
Nodes from external documents should be cloned using document.importNode()
(or adopted using document.adoptNode()
) before they can be inserted into the current document. For more on the Node.ownerDocument
issues, see the W3C DOM FAQ.
Firefox doesn't currently enforce this rule (it did for a while during the development of Firefox 3, but too many sites break when this rule is enforced). We encourage Web developers to fix their code to follow this rule for improved future compatibility.
ëª ì¸ ë 보기RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4