mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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);
|
||||
}
|
||||
|
||||
// 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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue