diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-11-08 00:49:33 -0500 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-11-08 00:49:33 -0500 |
commit | fe4a5890d1500b2f7871e8fc92c23884ee52ac67 (patch) | |
tree | fb381d32c6b0139d5f2e6df9f284aef7f3d2fc26 | |
parent | abf2dfea05dfb304af5424a7c51440a14865a169 (diff) | |
download | servo-fe4a5890d1500b2f7871e8fc92c23884ee52ac67.tar.gz servo-fe4a5890d1500b2f7871e8fc92c23884ee52ac67.zip |
Add spec link for 'converting nodes into a node'
-rw-r--r-- | components/script/dom/document.rs | 1 |
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 { |