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