blob: ff7b1a178c9202de99d7ae9295154d98fc5368ad [file] [log] [blame]
Tests that getElementById() API is exposed on DocumentFragment nodes.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS fragment.getElementById('divID') is div
PASS fragment.getElementById('aID') is a
PASS fragment.getElementById('notInFragment') is null
PASS fragment.getElementById('doesNotExist') is null
PASS fragment.getElementById('duplicateId1') is span
PASS fragment.getElementById('duplicateId2') is h1
PASS successfullyParsed is true
TEST COMPLETE