createEvent should increase tag count by 1

This commit is contained in:
nikneym committed 2025-09-09 21:56:10 +03:00
1 parent 7517937155
commit 10fc056184
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@
let byTagNameAll = document.getElementsByTagName('*');
// If you add a script block (or change the HTML in any other way on this
// page), this test will break. Adjust it accordingly.
testing.expectEqual(20, byTagNameAll.length);
testing.expectEqual(21, byTagNameAll.length);
testing.expectEqual('html', byTagNameAll.item(0).localName);
testing.expectEqual('SCRIPT', byTagNameAll.item(11).tagName);