1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/Tests/LibWeb/Text/input/DOM/HTMLCollection-empty-string-as-property-name.html
2025-03-20 11:50:49 +01:00

11 lines
305 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<div id></div>
<div id=haxx></div>
<script>
test(() => {
var c = document.getElementsByTagName("*");
println("Empty string in collection: " + ("" in c));
println("'haxx' in collection: " + ("haxx" in c));
});
</script>