mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibWeb: Fix nodeName attribute in tests
Commit 19731fc14c (#6864) made all nodeName attributes on HTML elements
uppercased. This change fixes that in all HTML & DOM tests.
This commit is contained in:
committed by
Andreas Kling
parent
37685b0181
commit
737f6e97b2
@@ -3,7 +3,7 @@ loadPage("file:///res/html/misc/welcome.html");
|
||||
afterInitialPageLoad(() => {
|
||||
test("contentEditable attribute", () => {
|
||||
expect(document.body.contentEditable).toBe("inherit");
|
||||
expect(document.firstChild.nextSibling.nodeName).toBe("html");
|
||||
expect(document.firstChild.nextSibling.nodeName).toBe("HTML");
|
||||
expect(document.firstChild.nextSibling.contentEditable).toBe("true");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user