mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 20:42:11 +02:00
LibWeb: Reorganize tests into DOM/ and HTML/
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 04:20:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/354f9aafd50
9
Libraries/LibWeb/Tests/HTML/HTMLElement.js
Normal file
9
Libraries/LibWeb/Tests/HTML/HTMLElement.js
Normal file
@@ -0,0 +1,9 @@
|
||||
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.contentEditable).toBe("true");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user