Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / submit-to-url-fragment.html
blobac24b2ab9c28eeb8746178fc7f51d9beed259c42
1 <html>
2 <head>
3 <title>Test for Bug 20038: REGRESSION (r35151): Can't post comments on flickr.com</title>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
10 function runTest() {
11 if (document.location.hash != "#preview") {
12 document.getElementById("mysubmit").click();
13 setTimeout('if (window.testRunner) { testRunner.notifyDone(); }', 5000);
16 </script>
17 </head>
18 <body onload="runTest()">
19 <p>
20 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=20038">Bug 20038: REGRESSION (r35151): Can't post comments on flickr.com</a>
21 </p>
22 <form action="#preview" method="post">
23 <input id="mysubmit" type="submit" name="Submit" value="Submit">
24 </form>
25 <div id="preview">
26 <script>
27 if (document.location.hash != "#preview") {
28 document.write("FAIL");
29 } else {
30 document.write("PASS");
31 if (window.testRunner) {
32 testRunner.notifyDone();
35 </script>
36 </div>
37 <div style="min-height: 1000px;"></div>
38 </body>
39 </html>