Use testRunner instead of layoutTestController in fast/doctypes, dom, dynamic, encodi...
[WebKit-https.git] / LayoutTests / fast / dom / HTMLProgressElement / progress-element-form.html
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5     testRunner.dumpAsText();
6 </script>
7
8 <body>
9 <table><form id=form1>
10 <progress id=progress1></progress>
11 </form></table>
12 <div>This test passes if the progress element doesn't have form attribute.</div>
13 <div id=console>FAIL</div>
14
15 <script>
16 if (document.getElementById('progress1').form === undefined)
17     document.getElementById('console').innerHTML = "PASS";
18 </script>
19 </body>
20 </html>