tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / block / positioning / relayout-nested-positioned-elements-crash.html
index 9bf3a80..85d981a 100755 (executable)
@@ -1,27 +1,34 @@
 <html>
 <head>
-<title>Test case for bug 64286</title>
-<script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
-</script>
+<script src="../../../fast/js/resources/js-test-pre.js"></script>
 </head>
 <body>
-<p>This tests that we don't cause an assertion failure on relayout of nested positioned elements. This test PASSED if we don't cause an assertion failure.</p>
+<p id="description"></p>
+<div id="console"></div>
 <div style="position:absolute">
     <span style="position:relative">
-        PASS
         <div style="position:absolute">
             <input id="hideMe"/>
         </div>
     </span>
 </div>
 <script>
+description("This tests that we don't cause an assertion failure on relayout of nested positioned elements. This test pass if we don't cause an assertion failure.");
+window.jsTestIsAsync = true;
+
 window.setTimeout(runTest, 0); // For some reason we need the setTimeout() for this test to work.
 function runTest()
 {
     document.getElementById("hideMe").style.display = "none";
+    window.setTimeout(finalizeTest, 0);
+}
+
+function finalizeTest()
+{
+    shouldBeEqualToString('document.getElementById("hideMe").style.display', 'none');
+    finishJSTest();
 }
 </script>
+<script src="../../js/resources/js-test-post.js"></script>
 </body>
 </html>