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

Unified Diff: LayoutTests/fast/dom/HTMLElement/contextmenu.html

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLElement/contextmenu.html
diff --git a/LayoutTests/fast/dom/HTMLElement/contextmenu.html b/LayoutTests/fast/dom/HTMLElement/contextmenu.html
index 936c1129c197ab038ed8a36205f846352aba4cd6..5dbb1c373a0a77a31a6cf95eb620f8072561462a 100644
--- a/LayoutTests/fast/dom/HTMLElement/contextmenu.html
+++ b/LayoutTests/fast/dom/HTMLElement/contextmenu.html
@@ -124,5 +124,9 @@ container10.createShadowRoot().appendChild(menu5);
container10.contextMenu = menu5;
shouldBeNull("container10.contextMenu");
+debug("Test contextmenu attribute of an element with no contextmenu attribute but parent has valid contextmenu");
+document.write("<div contextmenu='menu7'><button id='inner'></button><menu id='menu7' type='popup' label='menu 7'></menu></div>");
+var inner = document.getElementById('inner');
+shouldBeNull("inner.contextMenu");
</script>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698