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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/ValidityState-valueMissing-004.html

Issue 2211743003: Merge layout tests ValidityState-valueMissing-00N.html into one. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build HTML tree in each of tests Created 4 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
(Empty)
1 <html>
2 <head>
3 <title>required and valueMissing on readonly elements</title>
4 <script language="JavaScript" type="text/javascript">
5 function log(message) {
6 document.getElementById("console").innerHTML += "<li>"+message+"</li>";
7 }
8
9 function test() {
10 if (window.testRunner)
11 testRunner.dumpAsText();
12
13 v = document.getElementsByName("victim");
14
15 log((!v[0].validity.valueMissing && !v[1].validity.valueMissing) ? "SUCC ESS" : "FAILURE");
16 }
17 </script>
18 </head>
19 <body onload="test()">
20 <p>There are two readonly form control elements below, both required and with so me value:
21 validity.valueMissing should be false in both cases.</p>
22 <input name="victim" readonly required />
23 <textarea name="victim" readonly required></textarea>
24 <hr>
25 <ol id="console"></ol>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698