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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Test reflecting boolean attributes. 1 Test reflecting boolean attributes.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS e = make('area'); e.removeAttribute('nohref'); e.noHref is false 6 PASS e = make('area'); e.removeAttribute('nohref'); e.noHref is false
7 PASS e = make('area'); e.setAttribute('nohref', ''); e.noHref is true 7 PASS e = make('area'); e.setAttribute('nohref', ''); e.noHref is true
8 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = false; e.getAtt ribute('nohref') is null 8 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = false; e.getAtt ribute('nohref') is null
9 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = true; e.getAttr ibute('nohref') is '' 9 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = true; e.getAttr ibute('nohref') is ''
10 PASS e = make('dir'); e.removeAttribute('compact'); e.compact is false 10 PASS e = make('dir'); e.removeAttribute('compact'); e.compact is false
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = false; e.g etAttribute('required') is null 64 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = false; e.g etAttribute('required') is null
65 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = true; e.ge tAttribute('required') is '' 65 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = true; e.ge tAttribute('required') is ''
66 PASS e = make('link'); e.removeAttribute('disabled'); e.disabled is false 66 PASS e = make('link'); e.removeAttribute('disabled'); e.disabled is false
67 PASS e = make('link'); e.setAttribute('disabled', ''); e.disabled is true 67 PASS e = make('link'); e.setAttribute('disabled', ''); e.disabled is true
68 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = false; e.ge tAttribute('disabled') is null 68 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = false; e.ge tAttribute('disabled') is null
69 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = true; e.get Attribute('disabled') is '' 69 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = true; e.get Attribute('disabled') is ''
70 PASS e = make('menu'); e.removeAttribute('compact'); e.compact is false 70 PASS e = make('menu'); e.removeAttribute('compact'); e.compact is false
71 PASS e = make('menu'); e.setAttribute('compact', ''); e.compact is true 71 PASS e = make('menu'); e.setAttribute('compact', ''); e.compact is true
72 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = false; e.getA ttribute('compact') is null 72 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = false; e.getA ttribute('compact') is null
73 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = true; e.getAt tribute('compact') is '' 73 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = true; e.getAt tribute('compact') is ''
74 PASS e = make('menuitem'); e.removeAttribute('checked'); e.checked is false
75 PASS e = make('menuitem'); e.setAttribute('checked', ''); e.checked is true
76 PASS e = make('menuitem'); e.setAttribute('checked', 'x'); e.checked = false; e. getAttribute('checked') is null
77 PASS e = make('menuitem'); e.setAttribute('checked', 'x'); e.checked = true; e.g etAttribute('checked') is ''
78 PASS e = make('menuitem'); e.removeAttribute('default'); e.default is false
79 PASS e = make('menuitem'); e.setAttribute('default', ''); e.default is true
80 PASS e = make('menuitem'); e.setAttribute('default', 'x'); e.default = false; e. getAttribute('default') is null
81 PASS e = make('menuitem'); e.setAttribute('default', 'x'); e.default = true; e.g etAttribute('default') is ''
82 PASS e = make('menuitem'); e.removeAttribute('disabled'); e.disabled is false
83 PASS e = make('menuitem'); e.setAttribute('disabled', ''); e.disabled is true
84 PASS e = make('menuitem'); e.setAttribute('disabled', 'x'); e.disabled = false; e.getAttribute('disabled') is null
85 PASS e = make('menuitem'); e.setAttribute('disabled', 'x'); e.disabled = true; e .getAttribute('disabled') is ''
74 PASS e = make('object'); e.removeAttribute('declare'); e.declare is false 86 PASS e = make('object'); e.removeAttribute('declare'); e.declare is false
75 PASS e = make('object'); e.setAttribute('declare', ''); e.declare is true 87 PASS e = make('object'); e.setAttribute('declare', ''); e.declare is true
76 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = false; e.ge tAttribute('declare') is null 88 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = false; e.ge tAttribute('declare') is null
77 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = true; e.get Attribute('declare') is '' 89 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = true; e.get Attribute('declare') is ''
78 PASS e = make('ol'); e.removeAttribute('compact'); e.compact is false 90 PASS e = make('ol'); e.removeAttribute('compact'); e.compact is false
79 PASS e = make('ol'); e.setAttribute('compact', ''); e.compact is true 91 PASS e = make('ol'); e.setAttribute('compact', ''); e.compact is true
80 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = false; e.getAtt ribute('compact') is null 92 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = false; e.getAtt ribute('compact') is null
81 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttr ibute('compact') is '' 93 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttr ibute('compact') is ''
82 PASS e = make('option'); e.removeAttribute('selected'); e.defaultSelected is fal se 94 PASS e = make('option'); e.removeAttribute('selected'); e.defaultSelected is fal se
83 PASS e = make('option'); e.setAttribute('selected', ''); e.defaultSelected is tr ue 95 PASS e = make('option'); e.setAttribute('selected', ''); e.defaultSelected is tr ue
(...skipping 24 matching lines...) Expand all
108 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = false; e.g etAttribute('controls') is null 120 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = false; e.g etAttribute('controls') is null
109 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = true; e.ge tAttribute('controls') is '' 121 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = true; e.ge tAttribute('controls') is ''
110 PASS e = make('video'); e.removeAttribute('loop'); e.loop is false 122 PASS e = make('video'); e.removeAttribute('loop'); e.loop is false
111 PASS e = make('video'); e.setAttribute('loop', ''); e.loop is true 123 PASS e = make('video'); e.setAttribute('loop', ''); e.loop is true
112 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = false; e.getAttrib ute('loop') is null 124 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = false; e.getAttrib ute('loop') is null
113 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = true; e.getAttribu te('loop') is '' 125 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = true; e.getAttribu te('loop') is ''
114 PASS successfullyParsed is true 126 PASS successfullyParsed is true
115 127
116 TEST COMPLETE 128 TEST COMPLETE
117 129
OLDNEW
« 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