Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / generic-form-element-assert.html
blobd2882c438fd14282cd5e03caf551142928ff1417
1 <html>
2 <head>
3 <script type="text/javascript">
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function test()
9 var a = document.getElementById('a');
10 var b = document.getElementById('b');
11 var r = document.getElementById('result');
12 document.body.appendChild(b);
13 document.body.removeChild(a);
14 var l = b.elements.length;
15 result.innerText = l == 0 ? 'PASS' : 'FAIL: ' + l;
17 </script>
18 </head>
19 <body onload="test()">
20 <p>
21 This tests for a regression against
22 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=5926">https://bugs.webkit.org/show_bug.cgi?id=5926</a>
23 Assertion failure in HTMLGenericFormElementImpl::removedFromTree</i>.
24 </p>
25 <hr>
26 <p>
27 Test result: <span id="result">FAIL: didn't finish</span>
28 </p>
29 <form id="a">
30 <table></form>
31 <form id="b">
32 <input type="submit" value="Log In">
33 </form>
34 </body>
35 </html>