mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
createEvent should increase tag count by 1
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
let byTagNameAll = document.getElementsByTagName('*');
|
let byTagNameAll = document.getElementsByTagName('*');
|
||||||
// If you add a script block (or change the HTML in any other way on this
|
// If you add a script block (or change the HTML in any other way on this
|
||||||
// page), this test will break. Adjust it accordingly.
|
// 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('html', byTagNameAll.item(0).localName);
|
||||||
testing.expectEqual('SCRIPT', byTagNameAll.item(11).tagName);
|
testing.expectEqual('SCRIPT', byTagNameAll.item(11).tagName);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user