Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / input-disconnected-during-parse.html
blob20a3ef3d3a6529f08cc66f0eace3b19e08a76e38
1 <!DOCTYPE html>
2 <form>
3 <div>
4 <script>
5 var d = document.querySelector('div');
6 d.parentNode.removeChild(d);
7 </script>
8 <input>
9 </div>
10 </form>
11 <script src="../../resources/js-test.js"></script>
12 <script>
13 description('FormAssociatedElements should not be associated with forms in different trees (and should not crash)');
14 var unused = document.forms[0].elements.length;
15 d = null;
16 gc();
17 shouldBeUndefined('document.forms[0].elements[0]');
18 </script>