From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../nodes/Element-previousElementSibling-svg.svg | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/web-platform/tests/dom/nodes/Element-previousElementSibling-svg.svg (limited to 'testing/web-platform/tests/dom/nodes/Element-previousElementSibling-svg.svg') diff --git a/testing/web-platform/tests/dom/nodes/Element-previousElementSibling-svg.svg b/testing/web-platform/tests/dom/nodes/Element-previousElementSibling-svg.svg new file mode 100644 index 000000000..671d2c87f --- /dev/null +++ b/testing/web-platform/tests/dom/nodes/Element-previousElementSibling-svg.svg @@ -0,0 +1,28 @@ + + +previousElementSibling + + + +Test of previousElementSibling +The result of this test is +unknown. + + + +fnord + + +test(function() { + var parentEl = document.getElementById("parentEl"); + var lec = document.getElementById("last_element_child"); + var pes = lec.previousElementSibling; + assert_true(!!pes) + assert_equals(pes.nodeType, 1) + assert_equals(pes.getAttribute("id"), "middle_element_child") +}) + + -- cgit v1.2.3