Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: LayoutTests/fast/block/margin-collapse/bfc-beside-float-complex-margin-collapsing-expected.txt

Issue 1315353005: Avoid duplicated code in LayoutBlockChild::layoutBlockChild(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Resurrected comment about first layout pass and improved it. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/block/margin-collapse/bfc-beside-float-complex-margin-collapsing-expected.txt
diff --git a/LayoutTests/fast/block/margin-collapse/bfc-beside-float-complex-margin-collapsing-expected.txt b/LayoutTests/fast/block/margin-collapse/bfc-beside-float-complex-margin-collapsing-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca90e2fba11e55acb8044dc147587baa736f4649
--- /dev/null
+++ b/LayoutTests/fast/block/margin-collapse/bfc-beside-float-complex-margin-collapsing-expected.txt
@@ -0,0 +1,5 @@
+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 block with with overflow:hidden. Check that the overflow:hidden block doesn't overlap with the float, and also that it takes up all available space (but not more) beside 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 overflow:hidden block now affects it.
+
+Below there should be an olive square to the left of a navy square. The navy square should be slightly larger than the olive one, and there should be spacing between them. They should not overlap.
+
+PASS

Powered by Google App Engine
This is Rietveld 408576698