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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt b/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..128e067714a62aa92ed6f9b84be7576426509f67
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt
@@ -0,0 +1,25 @@
+Tests the contextmenu attribute.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Test with valid contextmenu attribute
+PASS document.getElementById('container1').contextMenu.id is 'menu1'
+PASS document.getElementById('container1').contextMenu.type is 'popup'
+PASS document.getElementById('container1').contextMenu.label is 'menu 1'
+Test with invalid contextmenu attribute
+PASS document.getElementById('container2').contextMenu is null
+Test setting contextmenu attribute
+PASS container3.contextMenu.id is 'menu3'
+PASS container3.contextMenu.type is 'popup'
+PASS container3.contextMenu.label is 'menu 3'
+Test setting contextmenu attribute with menu element without id
+PASS container4.contextMenu is null
+Test setting contextmenu attribute with multiple menu element with same id
+PASS container5.contextMenu.id is 'menu5'
+PASS container5.contextMenu.type is 'popup'
+PASS container5.contextMenu.label is 'menu 5'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« 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