From 86b767864bd6cec7f00e0e57d3146241ae9d17ef Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 12 Apr 2024 20:49:57 +0200 Subject: [PATCH] [assert] element.insertBefore --- .../assert/element.insertBefore.html | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 test/ecmascript/assert/element.insertBefore.html diff --git a/test/ecmascript/assert/element.insertBefore.html b/test/ecmascript/assert/element.insertBefore.html new file mode 100644 index 00000000..17526cec --- /dev/null +++ b/test/ecmascript/assert/element.insertBefore.html @@ -0,0 +1,33 @@ + + + + + + +

Click the button to insert an item to the list.

+ + + +

Example explained:
First create a LI node,
then create a Text node,
then append the Text node to the LI node.
Finally insert the LI node before the first child node in the list.

+ + + + +