Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / fallback-content-submission.html
blob9847ff95af8a7d1f82edc1133f23e5e228f524fb
1 <form action="resources/success.txt" method="GET" target="tg">
2 <object data="resources/logo.gif" type="image/gif" width="180" height="60">
3 <textarea id="abc" name="abc" rows="5" cols="70">Hello World</textarea>
4 </object>
5 </form>
6 <iframe name="tg"></iframe>
7 <div id="result"></div>
8 <script>
9 if (window.testRunner) {
10 testRunner.dumpAsText();
11 testRunner.waitUntilDone();
14 window.onload = function() {
15 document.getElementsByTagName('iframe')[0].addEventListener('load', function () {
16 var expected_search = "?abc=Hello+World";
17 var actual_search = this.contentWindow.location.search;
18 if (expected_search == actual_search)
19 document.getElementById('result').textContent = "PASS";
20 else
21 document.getElementById('result').textContent = "FAIL: actual=" + actual_search;
22 if (window.testRunner)
23 testRunner.notifyDone();
24 }, false);
26 document.getElementsByTagName('form')[0].submit();
28 </script>