Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / ValidityState-removed-control.html
blobe1c57a87a4acf0d0666df8f582ff584105f77050
1 <head>
3 <script>
5 function gc()
7 if (window.GCController)
8 return GCController.collect();
10 for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect)
11 var s = new String("");
15 function runTest()
17 if (window.testRunner)
18 testRunner.dumpAsText();
19 var validity = document.getElementById("control").validity;
20 document.body.removeChild(document.getElementById("control"));
21 gc();
22 validity.valueMissing;
23 document.getElementById("result").firstChild.data = "Test has run: If no assertion or crash occurred, it passed.";
26 </script>
28 </head>
30 <body onload="runTest()">
32 <p>Tests the behavior of removing a control and then accessing its validity state afterward.</p>
34 <select id="control"></select>
36 <p id="result">TEST DID NOT RUN YET</p>
38 </body>