OLD | NEW |
1 This test checks parsing of menuitem tag which is a self closing tag with no end
tag. | 1 This test checks parsing of menuitem tag which is a self closing tag with no end
tag. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS document.getElementById('div').innerHTML is "<menuitem>" | 6 PASS document.getElementById('div1').innerHTML is "<menuitem></menuitem>" |
7 PASS document.getElementById('menu').innerHTML is "<menuitem id=\"first_item\"><
menuitem id=\"second_item\">" | 7 PASS document.getElementById('div2').innerHTML is "<menuitem><p>Element inside m
enuitem</p></menuitem>" |
| 8 PASS document.getElementById('menu').innerHTML is "<menuitem id=\"first_item\"><
/menuitem><menu id=\"submenu\" label=\"submenu\"><menuitem id=\"sub_menuitem\"><
/menuitem></menu><menuitem id=\"second_item\"></menuitem><hr><menuitem id=\"thir
d_item\"></menuitem>" |
8 PASS document.getElementById('first_item').firstChild is null | 9 PASS document.getElementById('first_item').firstChild is null |
9 PASS document.getElementById('menu').firstChild.nextSibling is document.getEleme
ntById('second_item') | 10 PASS document.getElementById('menu').firstChild.nextSibling is document.getEleme
ntById('submenu') |
10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
11 | 12 |
12 TEST COMPLETE | 13 TEST COMPLETE |
| 14 Element inside menuitem |
13 | 15 |
| 16 |
OLD | NEW |