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

Unified Diff: LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html

Issue 761743002: Implement disabled and checked attribute for menuitem. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: "disabled" only 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/HTMLMenuElement/custom-context-menu-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html
diff --git a/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html b/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html
index e1d311ffa4eba27f674f3e426e9c042cfdb061c1..e565c5c9ee902abdb8f285915d555011e943c78d 100644
--- a/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html
+++ b/LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu.html
@@ -9,7 +9,8 @@
<!-- Test removal of separator at the start. -->
<hr>
<menuitem label="Item1"></menuitem>
- <menuitem label="Item2"></menuitem>
+ <!-- Test disabled menuitem. -->
+ <menuitem label="Item2" disabled></menuitem>
<!-- Test addition of separator for <hr>. -->
<hr>
<menuitem label="Item3"></menuitem>
@@ -138,7 +139,7 @@ var items4 = contextClickAndGetMenuItems(button4);
shouldBeEqualToNumber("itemsWithCustomContextMenu.length - items.length", 17);
shouldBeEqualToString("itemsWithCustomContextMenu[0]", "Item1");
-shouldBeEqualToString("itemsWithCustomContextMenu[1]", "Item2");
+shouldBeEqualToString("itemsWithCustomContextMenu[1]", "#Item2");
shouldBeEqualToString("itemsWithCustomContextMenu[2]", "---------");
shouldBeEqualToString("itemsWithCustomContextMenu[3]", "Item3");
shouldBeEqualToString("itemsWithCustomContextMenu[4]", "Submenu >");
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLMenuElement/custom-context-menu-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698