Author: Mason Wright
Email: [email protected]
Date: Thu, 3 Jul 2025 14:50:33 -0600
tests/html_parser.cc
Random
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",""}}); } }