Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / ValidityState-valueMissing-009.html
blobe749efe091f78cb681be5671febd0fc3290168ab
1 <html>
2 <head>
3 <title>required and valueMissing on new input types</title>
4 <script language="JavaScript" type="text/javascript">
5 function log(message) {
6 document.getElementById("console").innerHTML += "<li>"+message+"</li>";
9 function test() {
10 if (window.testRunner)
11 testRunner.dumpAsText();
13 v = document.getElementsByName("victim");
15 for (i = 0; i < v.length; i++)
16 log(v[i].validity.valueMissing ? "SUCCESS" : "FAILURE");
18 </script>
19 </head>
20 <body onload="test()">
21 <p>There's a list of form control elements below, required attribute applies to them but they're empty:
22 validity.valueMissing should be true.</p>
23 <input name="victim" type="text" required />
24 <input name="victim" type="search" required />
25 <input name="victim" type="url" required />
26 <input name="victim" type="telephone" required />
27 <input name="victim" type="email" required />
28 <input name="victim" type="password" required />
29 <input name="victim" type="number" required />
30 <hr>
31 <ol id="console"></ol>
32 </body>
33 </html>