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> |