mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add spec link for 'converting nodes into a node'
This commit is contained in:
parent
abf2dfea05
commit
fe4a5890d1
1 changed files with 1 additions and 0 deletions
|
@ -930,6 +930,7 @@ impl Document {
|
||||||
ReflowReason::KeyEvent);
|
ReflowReason::KeyEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://dom.spec.whatwg.org/#converting-nodes-into-a-node
|
||||||
pub fn node_from_nodes_and_strings(&self, nodes: Vec<NodeOrString>)
|
pub fn node_from_nodes_and_strings(&self, nodes: Vec<NodeOrString>)
|
||||||
-> Fallible<Root<Node>> {
|
-> Fallible<Root<Node>> {
|
||||||
if nodes.len() == 1 {
|
if nodes.len() == 1 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue