Skip to main content

Module dom_document

Module dom_document 

Source

Functions§

doc_adopt_node 🔒
document.adoptNode(externalNode) (WHATWG DOM Standard §4.5)。 【2026-11-20】主文書以外の文書(dom_doc.rs)への養子縁組に対応。this が文書(#document ハンドル、主文書は document)。
doc_import_node 🔒
document.importNode(externalNode, deep) (WHATWG DOM Standard §4.5)。
document_exec_command 🔒
document.execCommand(commandName, showUI, value)(HTML Standard §7.7)。
document_get_elements_by_class_name 🔒
document_get_elements_by_name 🔒
document.getElementsByName(name)(丸ごと未対応だった。ラジオボタン グループ等、同じ name 属性を持つ要素群をまとめて取得する定番パターン)。 既存の属性セレクタ実装へ委譲する(getElementsByClassName と同型)。
document_get_selection 🔒
selection_add_range 🔒
selection_get_range_at 🔒
selection_remove_all_ranges 🔒
selection_remove_range 🔒