Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / missing-action.html
blob25b2e8463f859494839d84afd9a5d707a569b283
1 <html>
2 <base href="http://www.example.com/failure/">
3 <head>
4 <title>Submitting forms with no action attribute</title>
5 </head>
6 <body>
7 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=17042">bug 17042</a>: Forms without actions and a base tag submit incorrectly.</p>
9 <form name="f" method="get">
10 <input type="submit" value="Test"/>
11 </form>
13 <script>
14 if (window.testRunner) {
15 testRunner.dumpAsText();
16 testRunner.waitUntilDone();
19 if (document.URL.indexOf('?') == -1) {
21 document.f.submit();
23 } else {
25 if (unescape(document.URL.substring(document.URL.indexOf('?')+1, document.URL.length)) == "")
26 document.write("<p>Success</p>");
27 else
28 document.write("<p>Failure</p>");
30 if (window.testRunner)
31 testRunner.notifyDone();
34 </script>
35 </body>
36 </html>