Index: LayoutTests/fast/block/float/add-abspos-before-float-in-block-children-block.html |
diff --git a/LayoutTests/fast/block/float/add-abspos-before-float-in-block-children-block.html b/LayoutTests/fast/block/float/add-abspos-before-float-in-block-children-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4caa0387b4002676fa3c497c3e02ba0ec1e4e07d |
--- /dev/null |
+++ b/LayoutTests/fast/block/float/add-abspos-before-float-in-block-children-block.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<style> |
+#a, #c { |
+ width:25px; |
+ height:50px; |
+ background: blue; |
+} |
+</style> |
+<p>There should be a blue <em>square</em> below.</p> |
+<div> |
+ <div id="a"></div><div id="b"></div><div id="c"></div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById('a').style.display = 'inline-block'; |
+ document.getElementById('b').style.position = 'absolute'; |
+ document.getElementById('c').style.display = 'inline-block'; |
+</script> |