aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/script/dom/document.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index e47b7f36186..70bf4cb7bb0 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -930,6 +930,7 @@ impl Document {
ReflowReason::KeyEvent);
}
+ // https://dom.spec.whatwg.org/#converting-nodes-into-a-node
pub fn node_from_nodes_and_strings(&self, nodes: Vec<NodeOrString>)
-> Fallible<Root<Node>> {
if nodes.len() == 1 {