Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt

Issue 243403006: Implement contextmenu attribute with basic support of <menu> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reflect HTMLMenuElement as per spec Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/HTMLElement/contextmenu.html ('k') | LayoutTests/fast/dom/HTMLElement/script-tests/contextmenu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698