From 01ebafd40f39f34dffa5d24f836eeaf5cf0ea9da Mon Sep 17 00:00:00 2001 From: Alexey Shvayka Date: Fri, 31 Jul 2020 16:49:06 +0300 Subject: [PATCH] Add coverage for TreeNode.closest() --- dom/nodes/Element-closest.html | 73 ------------------ dom/nodes/TreeNode-closest.html | 133 ++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 73 deletions(-) delete mode 100644 dom/nodes/Element-closest.html create mode 100644 dom/nodes/TreeNode-closest.html diff --git a/dom/nodes/Element-closest.html b/dom/nodes/Element-closest.html deleted file mode 100644 index 386e3bd251bdb4..00000000000000 --- a/dom/nodes/Element-closest.html +++ /dev/null @@ -1,73 +0,0 @@ - - -Test for Element.closest - - - - -
- diff --git a/dom/nodes/TreeNode-closest.html b/dom/nodes/TreeNode-closest.html new file mode 100644 index 00000000000000..a8264ef5a835f1 --- /dev/null +++ b/dom/nodes/TreeNode-closest.html @@ -0,0 +1,133 @@ + + +TreeNode.closest + + + + + + +
+