From 10fc05618494b8cbaf1cf32d69bdda2a4b8a80ea Mon Sep 17 00:00:00 2001 From: nikneym Date: Tue, 9 Sep 2025 21:56:10 +0300 Subject: [PATCH] `createEvent` should increase tag count by 1 --- src/tests/dom/document.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/dom/document.html b/src/tests/dom/document.html index 90bf95df..be95a002 100644 --- a/src/tests/dom/document.html +++ b/src/tests/dom/document.html @@ -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);