Index: LayoutTests/fast/runin/runin-remove-child-simple.html |
diff --git a/LayoutTests/fast/runin/runin-remove-child-simple.html b/LayoutTests/fast/runin/runin-remove-child-simple.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..69ea0b9951f0791144d0d4083c16ae51683af61a |
--- /dev/null |
+++ b/LayoutTests/fast/runin/runin-remove-child-simple.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<html> |
+<style> |
+.runin { display: run-in } |
+</style> |
+</head> |
+<body> |
+<div> |
+<p>This test checks that dynamically changing 'display' to 'none' moves |
+the run-in to its own block.</p> |
+<p>For this test to pass there should be 1 line below with PASS:<p> |
+ <div class="runin">PASS(run-in)</div> |
+ <div id="t1">FAIL(div#t1 should not be visible</div> |
+</div> |
+</body> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+document.body.offsetTop; |
+document.getElementById('t1').style.display = 'none'; |
+</script> |
+</html> |