| This test checks parsing of menuitem tag which has an end tag. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS document.getElementById('div').innerHTML is "<menuitem></menuitem>" |
| PASS document.getElementById('menu').innerHTML is "<menuitem id=\"first_item\"></menuitem><menuitem id=\"second_item\"></menuitem>" |
| PASS document.getElementById('first_item').firstChild is null |
| PASS document.getElementById('menu').firstChild.nextSibling is document.getElementById('second_item') |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |