Index: LayoutTests/fast/dom/HTMLMenuElement/menu-type-popup.html |
diff --git a/LayoutTests/fast/dom/HTMLMenuElement/menu-type-popup.html b/LayoutTests/fast/dom/HTMLMenuElement/menu-type-popup.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e6479440f0c382ebfd33b45300e163d8d568f1fb |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLMenuElement/menu-type-popup.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<menuitem label="Orphan item"> |
+<menu type="popup"> |
+This Text should not render as it is inside menu of type="popup". |
+<menuitem label="Item in a menu"> |
+</menu> |
+<menu> |
+This Text should render as it is inside menu which is not of type="popup". |
+<menuitem label="Item in a menu"> |
+</menu> |