Author: Mason Wright
Email: [email protected]
Date: Fri, 4 Jul 2025 18:13:36 -0600
tests/html_parser.cc
Fixed issue with parsing only pseudo-classes
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",""}}); } }