Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / interactive-validation-formnovalidate-child.html
blobd60940dc379335c56f8b20bdfc29a0a4cfe9224d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 <form id=f action="interactive-validation-formnovalidate-child.html">
10 <input type=hidden name=submitted value="true">
11 <input name=i0 required id="i0">
12 <button type="submit" formnovalidate><span id=s>Submit</span></button>
13 </form>
14 <script>
15 description('Test if formnovalidate attribute works for a submit button with child elements.');
17 function startOrVerify() {
18 var query = window.location.search;
19 if (query.indexOf('submitted=true') != -1) {
20 shouldBeTrue('location.search.indexOf("i0=") != -1');
21 debug('TEST COMPLETE');
22 if (window.testRunner)
23 testRunner.notifyDone();
24 } else {
25 document.getElementById('s').click();
26 testFailed('The form was not submitted.');
30 if (window.testRunner)
31 testRunner.waitUntilDone();
32 window.onload = startOrVerify;
33 </script>
34 </body>
35 </html>