Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / form-associated-element-removal.html
blobdf2f87ac790eca10a8a92f9b537da43b78959f70
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <script>
4 description("Removing all children of a form should disassociate any form controls in that subtree");
5 var form = document.createElement('form');
6 var input = document.createElement('input');
7 form.appendChild(input);
8 form.innerHTML = '';
9 shouldBeNull("input.form");
10 shouldBe("form.elements.length", "0");
11 </script>