Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLProgressElement / progress-element-form.html
blob8c7bcc60f532ac9432e1a074494f9472721cb6ed
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 </script>
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>
15 <script>
16 if (document.getElementById('progress1').form === undefined)
17 document.getElementById('console').innerHTML = "PASS";
18 </script>
19 </body>
20 </html>