Index: LayoutTests/fast/block/float/add-inline-before-float-in-block-children-block.html |
diff --git a/LayoutTests/fast/block/float/add-inline-before-float-in-block-children-block.html b/LayoutTests/fast/block/float/add-inline-before-float-in-block-children-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2210337f8511ec24114f207ab8647c38b621aeba |
--- /dev/null |
+++ b/LayoutTests/fast/block/float/add-inline-before-float-in-block-children-block.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script> |
+ window.onload = function() { |
+ document.body.offsetTop; |
+ document.getElementById('a').style.display = 'inline-block'; |
+ } |
+</script> |
+ |
+<p>There should be a blue <em>square</em> below.</p> |
+<div> |
+ <div id="a" style="display:none; width:20px; height:40px; background:blue;"></div> |
+ <div style="float:left; width:20px; height:40px; background:blue;"></div> |
+ <div></div> |
+</div> |