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

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

Issue 721603002: If an element A has a parent element, then A's assigned context menu is the assigned context menu o… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed nits Created 6 years, 1 month 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
1 Tests the contextmenu attribute. 1 Tests the contextmenu attribute.
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 Test with valid contextmenu attribute 6 Test with valid contextmenu attribute
7 PASS document.getElementById('container1').contextMenu.id is "menu1" 7 PASS document.getElementById('container1').contextMenu.id is "menu1"
8 PASS document.getElementById('container1').contextMenu.type is "popup" 8 PASS document.getElementById('container1').contextMenu.type is "popup"
9 PASS document.getElementById('container1').contextMenu.label is "menu 1" 9 PASS document.getElementById('container1').contextMenu.label is "menu 1"
10 Test with invalid contextmenu attribute 10 Test with invalid contextmenu attribute
(...skipping 27 matching lines...) Expand all
38 Test setting contextmenu attribute to some text 38 Test setting contextmenu attribute to some text
39 PASS container7.contextMenu is null 39 PASS container7.contextMenu is null
40 Test setting contextmenu attribute to comment 40 Test setting contextmenu attribute to comment
41 PASS container8.contextMenu is null 41 PASS container8.contextMenu is null
42 Test setting contextmenu attribute to menu without type 42 Test setting contextmenu attribute to menu without type
43 PASS container9.contextMenu.id is "menu_without_type" 43 PASS container9.contextMenu.id is "menu_without_type"
44 PASS container9.contextMenu.type is "" 44 PASS container9.contextMenu.type is ""
45 PASS container9.contextMenu.label is "menu without type" 45 PASS container9.contextMenu.label is "menu without type"
46 Test setting contextmenu attribute to menu element which is in shadow dom 46 Test setting contextmenu attribute to menu element which is in shadow dom
47 PASS container10.contextMenu is null 47 PASS container10.contextMenu is null
48 Test contextmenu attribute of an element with no contextmenu attribute but paren t has valid contextmenu
49 PASS inner.contextMenu is null
48 PASS successfullyParsed is true 50 PASS successfullyParsed is true
49 51
50 TEST COMPLETE 52 TEST COMPLETE
51 53
52 54
53 55
54 56
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/HTMLElement/contextmenu.html ('k') | LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698