OLD | NEW |
(Empty) | |
| 1 Tests the contextmenu attribute. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Test with valid contextmenu attribute |
| 7 PASS document.getElementById('container1').contextMenu.id is 'menu1' |
| 8 PASS document.getElementById('container1').contextMenu.type is 'popup' |
| 9 PASS document.getElementById('container1').contextMenu.label is 'menu 1' |
| 10 Test with invalid contextmenu attribute |
| 11 PASS document.getElementById('container2').contextMenu is null |
| 12 Test setting contextmenu attribute |
| 13 PASS container3.contextMenu.id is 'menu3' |
| 14 PASS container3.contextMenu.type is 'popup' |
| 15 PASS container3.contextMenu.label is 'menu 3' |
| 16 Test setting contextmenu attribute with menu element without id |
| 17 PASS container4.contextMenu is null |
| 18 Test setting contextmenu attribute with multiple menu element with same id |
| 19 PASS container5.contextMenu.id is 'menu5' |
| 20 PASS container5.contextMenu.type is 'popup' |
| 21 PASS container5.contextMenu.label is 'menu 5' |
| 22 PASS successfullyParsed is true |
| 23 |
| 24 TEST COMPLETE |
| 25 |
OLD | NEW |