Index: LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html |
diff --git a/LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html b/LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..798aa08fbee3c8651b332914b8eb622521b15568 |
--- /dev/null |
+++ b/LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html |
@@ -0,0 +1,21 @@ |
+<html> |
+<script src="../../../resources/check-layout.js"></script> |
+<style> |
+ body { |
+ margin: 0px; |
+ padding: 0px; |
+ } |
+</style> |
+<body onload="checkLayout('#line')"> |
+ <div style="height: 20px;"> |
+ <div style="background-color: gray; height: 40px;"> |
+ <div style="float: left; height: 30px; background-color: blue; width: 100px;"></div> |
+ </div> |
+ <div style="background-color: gray; height: 40px;"> |
+ </div> |
+ </div> |
+ <div style="background-color: silver; height: 80px;"> |
+ <div id="line" data-total-x=100 style="display:inline-block;">This line should not overlap the blue box.</div> |
+ </div> |
+</body> |
+</html> |