MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / reparent_children

Method reparent_children

css-inline/src/html/parser.rs:320–324  ·  view source on GitHub ↗

Remove all the children from node and append them to `new_parent`.

(&self, node: &NodeId, new_parent: &NodeId)

Source from the content-addressed store, hash-verified

318
319 /// Remove all the children from node and append them to `new_parent`.
320 fn reparent_children(&self, node: &NodeId, new_parent: &NodeId) {
321 self.document
322 .borrow_mut()
323 .reparent_children(*node, *new_parent);
324 }
325}

Callers 1

parse_with_optionsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected