Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / ValidityState-valueMissing-008.html
blob238dacbdbaa0bacfe04d038f9c9818ffa90917b7
1 <html>
2 <head>
3 <title>required and valueMissing on file control</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 log(v[0].validity.valueMissing ? "SUCCESS" : "FAILURE");
17 </script>
18 </head>
19 <body onload="test()">
20 <p>There's a upload control below, with no file selected: missing value.</p>
21 <input name="victim" type="file" required/>
22 <hr>
23 <ol id="console"></ol>
24 </body>
25 </html>