Author: Mason Wright
Email: [email protected]
Date: Sun, 6 Jul 2025 20:30:31 -0600
tests/html_parser.cc
Testing hook
Commits
Diff
"; std::stringstream ss(html); std::unique_ptr document = parseStream(ss); BENCHMARK("Textarea with script tag inside") { return parseStream(ss); }; // Ensure the only child of root is html Node* current = document->children[0].get(); checkNode(current, "textarea", 1, "", {}, {{}}); current = current->children[0].get(); checkNode(current, "text", 0, "", {}, {{"innerText",""}}); } }