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

Unified Diff: LayoutTests/fast/dom/boolean-attribute-reflection-expected.txt

Issue 243403006: Implement contextmenu attribute with basic support of <menu> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reflect HTMLMenuElement as per spec 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/boolean-attribute-reflection-expected.txt
diff --git a/LayoutTests/fast/dom/boolean-attribute-reflection-expected.txt b/LayoutTests/fast/dom/boolean-attribute-reflection-expected.txt
index f74d535f419d1ff0b24bf8fa688cf7340e0b348b..cd9c9e09dad840e4d92b548e66741d56a7bef5e5 100644
--- a/LayoutTests/fast/dom/boolean-attribute-reflection-expected.txt
+++ b/LayoutTests/fast/dom/boolean-attribute-reflection-expected.txt
@@ -71,6 +71,18 @@ PASS e = make('menu'); e.removeAttribute('compact'); e.compact is false
PASS e = make('menu'); e.setAttribute('compact', ''); e.compact is true
PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = false; e.getAttribute('compact') is null
PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttribute('compact') is ''
+PASS e = make('menuitem'); e.removeAttribute('checked'); e.checked is false
+PASS e = make('menuitem'); e.setAttribute('checked', ''); e.checked is true
+PASS e = make('menuitem'); e.setAttribute('checked', 'x'); e.checked = false; e.getAttribute('checked') is null
+PASS e = make('menuitem'); e.setAttribute('checked', 'x'); e.checked = true; e.getAttribute('checked') is ''
+PASS e = make('menuitem'); e.removeAttribute('default'); e.default is false
+PASS e = make('menuitem'); e.setAttribute('default', ''); e.default is true
+PASS e = make('menuitem'); e.setAttribute('default', 'x'); e.default = false; e.getAttribute('default') is null
+PASS e = make('menuitem'); e.setAttribute('default', 'x'); e.default = true; e.getAttribute('default') is ''
+PASS e = make('menuitem'); e.removeAttribute('disabled'); e.disabled is false
+PASS e = make('menuitem'); e.setAttribute('disabled', ''); e.disabled is true
+PASS e = make('menuitem'); e.setAttribute('disabled', 'x'); e.disabled = false; e.getAttribute('disabled') is null
+PASS e = make('menuitem'); e.setAttribute('disabled', 'x'); e.disabled = true; e.getAttribute('disabled') is ''
PASS e = make('object'); e.removeAttribute('declare'); e.declare is false
PASS e = make('object'); e.setAttribute('declare', ''); e.declare is true
PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = false; e.getAttribute('declare') is null
« no previous file with comments | « LayoutTests/fast/dom/HTMLElement/script-tests/contextmenu.js ('k') | LayoutTests/fast/dom/domstring-attribute-reflection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698