Index: third_party/WebKit/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html |
index 411394bddf7943ea3fde9b25c79a997273690e35..50a83e8add2b7a054c401dc8a76a7b18bbe72b79 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html |
@@ -5,7 +5,7 @@ |
<button id="button" style="height: 100px; width: 100px;"> |
</button> |
<button id="button_with_contextmenu" contextmenu="menu_id" style="height: 100px; width: 100px;"> |
- <menu id="menu_id" type="PopUp"> |
+ <menu id="menu_id" type="ConText"> |
<!-- Test removal of separator at the start. --> |
<hr> |
<menuitem label="Item1"></menuitem> |
@@ -73,7 +73,7 @@ |
</button> |
<!-- Test cancelling show event. --> |
<button id="button_2" contextmenu="menu_2" style="height: 100px; width: 100px;"> |
- <menu id="menu_2" type="popup"> |
+ <menu id="menu_2" type="context"> |
<menuitem label="Item1"></menuitem> |
<menuitem label="Item2"></menuitem> |
<menuitem label="Item3"></menuitem> |
@@ -81,7 +81,7 @@ |
</button> |
<!-- Test removing menu element inside show event handler. --> |
<button id="button_3" contextmenu="menu_3" style="height: 100px; width: 100px;"> |
- <menu id="menu_3" type="popup"> |
+ <menu id="menu_3" type="context"> |
<menuitem label="Item1"></menuitem> |
<menuitem label="Item2"></menuitem> |
<menuitem label="Item3"></menuitem> |
@@ -89,7 +89,7 @@ |
</button> |
<!-- Test with menu element without any children. --> |
<button id="button_4" contextmenu="menu_4" style="height: 100px; width: 100px;"> |
- <menu id="menu_4" type="popup"> |
+ <menu id="menu_4" type="context"> |
</menu> |
</button> |
<!-- Test if an element A has a parent element, then A's assigned context menu is the assigned context menu of its parent element. --> |
@@ -97,7 +97,7 @@ |
<div> |
<button id="button_5" style="height: 100px; width: 100px;"></button> |
</div> |
- <menu id="menu_5" type="popup"> |
+ <menu id="menu_5" type="context"> |
<menuitem label="Item1"> |
<menuitem label="Item2"> |
<menuitem label="Item3"> |