Index: LayoutTests/fast/block/margin-collapse/table-beside-float-complex-margin-collapsing-expected.html |
diff --git a/LayoutTests/fast/block/margin-collapse/table-beside-float-complex-margin-collapsing-expected.html b/LayoutTests/fast/block/margin-collapse/table-beside-float-complex-margin-collapsing-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2a4b0f2f5a6f04d47caa1b562b32cf90811288df |
--- /dev/null |
+++ b/LayoutTests/fast/block/margin-collapse/table-beside-float-complex-margin-collapsing-expected.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<p>Given a float followed by a regular block with the same height as the float, then a block B with |
+ a negative margin, followed by a table. Check that the table doesn't overlap with the |
+ float. There's an empty collapse-through block before B, so that our initial logical top |
+ estimate fails and we have to relayout. When laying out again, we have to detect that the float |
+ that we first thought didn't affect the table now affects it.</p> |
+<p>The word "PASS" should be seen below, to the right of a blue block.</p> |
+<div style="color:blue;"> |
+ <div style="float:left; width:8em; height:8em; margin-right:1em; background:blue;"></div> |
+ <div style="height:4em;"></div> |
+ PASS |
+</div> |