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

Function new_element

css-inline/src/html/document.rs:469–474  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

467 use test_case::test_case;
468
469 fn new_element() -> NodeData {
470 NodeData::Element {
471 element: ElementData::new(QualName::new(None, ns!(), local_name!("span")), vec![]),
472 inlining_ignored: false,
473 }
474 }
475
476 fn roundtrip(bytes: &[u8]) -> Vec<u8> {
477 let mut buffer = Vec::new();

Callers 2

test_insert_beforeFunction · 0.85
test_appendFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_insert_beforeFunction · 0.68
test_appendFunction · 0.68