aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-11-08 00:49:33 -0500
committerCorey Farwell <coreyf@rwell.org>2015-11-08 00:49:33 -0500
commitfe4a5890d1500b2f7871e8fc92c23884ee52ac67 (patch)
treefb381d32c6b0139d5f2e6df9f284aef7f3d2fc26
parentabf2dfea05dfb304af5424a7c51440a14865a169 (diff)
downloadservo-fe4a5890d1500b2f7871e8fc92c23884ee52ac67.tar.gz
servo-fe4a5890d1500b2f7871e8fc92c23884ee52ac67.zip
Add spec link for 'converting nodes into a node'
-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 {