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

Unified Diff: LayoutTests/fast/dom/HTMLMenuElement/menu-type-popup.html

Issue 443373002: Add <menuitem>, new HTMLMenuElement IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added RuntimeEnabled check 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/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>

Powered by Google App Engine
This is Rietveld 408576698