Index: LayoutTests/fast/runin/runin-sibling-inline.html |
diff --git a/LayoutTests/fast/runin/runin-sibling-inline.html b/LayoutTests/fast/runin/runin-sibling-inline.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0313512adb1758766dd3b9a1611b4423a493a410 |
--- /dev/null |
+++ b/LayoutTests/fast/runin/runin-sibling-inline.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<html> |
+<style> |
+.runin { display: run-in } |
+</style> |
+</head> |
+<body> |
+<div> |
+<p>This test checks that dynamically changing 'display' from block to inline moves |
+the run-in to its own block.</p> |
+<p>For this test to pass there should be 2 lines below with PASS, each PASS should |
+be on its own line:</p> |
+ <div class="runin">PASS (run-in)</div> |
+ <div id="t1">PASS (div#t1 that changed 'display')</div> |
+</div> |
+</body> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+document.body.offsetTop; |
+document.getElementById('t1').style.display = 'inline'; |
+</script> |
+</html> |