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

Side by Side Diff: LayoutTests/fast/forms/implicit-submission.html

Issue 60573007: Non-activated default buttons prevent implicit form submission. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Retire dated comment on button names Created 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/forms/implicit-submission-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Implicit Form Submission</title> 3 <title>Implicit Form Submission</title>
4 <script> 4 <script>
5 5
6 var currentTest = 0; 6 var currentTest = 0;
7 7
8 // match IE and FF unless specified otherwise. 8 // match IE and FF unless specified otherwise.
9 var allTests = [ 9 var allTests = [
10 [ "Single text input", "!text", "y" ], 10 [ "Single text input", "!text", "y" ],
11 [ "Single text input with submit disabled", "!text,-submit", "y" ], 11 [ "Single text input with submit disabled", "!text,-submit", "n" ],
12 [ "Multiple text inputs", "!text,text,text", "n" ], 12 [ "Multiple text inputs", "!text,text,text", "n" ],
13 [ "Multiple text inputs with submit", "!text,text,text,submit", "y" ], 13 [ "Multiple text inputs with submit", "!text,text,text,submit", "y" ],
14 [ "Multiple text inputs with submit disabled", "!text,text,text,-submit", "n " ], 14 [ "Multiple text inputs with submit disabled", "!text,text,text,-submit", "n " ],
15 [ "Multiple text inputs and multiple submits, first submit disabled", "!text ,text,text,-submit,submit", "y" ], // match IE, not FF. 15 [ "Multiple text inputs and multiple submits, first submit disabled", "!text ,text,text,-submit,submit", "n" ], // match Gecko + spec, but not IE.
16 [ "Text input and text area, text input focused", "!text,textarea", "y" ], 16 [ "Text input and text area, text input focused", "!text,textarea", "y" ],
17 [ "Text input and text area and a submit, text input focused", "!text,textar ea,submit", "y" ], 17 [ "Text input and text area and a submit, text input focused", "!text,textar ea,submit", "y" ],
18 [ "Text input and text area and a disabled submit, text input focused", "!te xt,textarea,-submit", "y" ], // match IE, not FF. 18 [ "Text input and text area and a disabled submit, text input focused", "!te xt,textarea,-submit", "n" ], // match Gecko + spec, but not IE.
19 [ "Text input and checkbox, text input focused", "!text,checkbox", "y" ], 19 [ "Text input and checkbox, text input focused", "!text,checkbox", "y" ],
20 [ "Text input and radio, text input focused", "!text,radio", "y" ], 20 [ "Text input and radio, text input focused", "!text,radio", "y" ],
21 [ "Text input and text area, textarea focused", "text,!textarea", "n" ], 21 [ "Text input and text area, textarea focused", "text,!textarea", "n" ],
22 [ "Text input and checkbox, checkbox focused", "text,!checkbox", "n" ], // m atch IE, not FF. 22 [ "Text input and checkbox, checkbox focused", "text,!checkbox", "n" ], // m atch IE, not FF.
23 [ "Text input and radio, radio focused", "text,!radio", "n" ], // match IE, not FF. 23 [ "Text input and radio, radio focused", "text,!radio", "n" ], // match IE, not FF.
24 [ "Single radio", "!radio", "n" ], // match IE, not FF. 24 [ "Single radio", "!radio", "n" ], // match IE, not FF.
25 [ "Single checkbox", "!checkbox", "n" ], 25 [ "Single checkbox", "!checkbox", "n" ],
26 [ "Single checkbox with a submit", "!checkbox,submit", "y" ], 26 [ "Single checkbox with a submit", "!checkbox,submit", "y" ],
27 [ "Single checkbox with a submit disabled", "!checkbox,-submit", "n" ], 27 [ "Single checkbox with a submit disabled", "!checkbox,-submit", "n" ],
28 [ "Single select", "!select", "n" ], 28 [ "Single select", "!select", "n" ],
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 143
144 </script> 144 </script>
145 </head> 145 </head>
146 <body onload="runTest()"> 146 <body onload="runTest()">
147 <p>Tests various combinations of form elements and how implicit submission w orks with them. 147 <p>Tests various combinations of form elements and how implicit submission w orks with them.
148 <div id="arena"></div> 148 <div id="arena"></div>
149 <div id="log"></div> 149 <div id="log"></div>
150 </body> 150 </body>
151 </html> 151 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/implicit-submission-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698