blob: bbe5e1b31c89e52d0f9294f913e18365b74f9f81 [file] [log] [blame]
Test the definition of Element.closest().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Element.closest is undefined.
PASS Object.getOwnPropertyDescriptor(Element.prototype, "closest").enumerable is true
PASS Object.getOwnPropertyDescriptor(Element.prototype, "closest").writable is true
PASS Element.prototype.closest.length is 1
PASS successfullyParsed is true
TEST COMPLETE