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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Given a float followed by a regular block with the same height as the float, the n a block B with a negative margin, followed by a block with with overflow:hidde n. 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 a n empty collapse-through block before B, so that our initial logical top estimat e fails and we have to relayout. When laying out again, we have to detect that t he float that we first thought didn't affect the overflow:hidden block now affec ts it.
2
3 Below there should be an olive square to the left of a navy square. The navy squ are should be slightly larger than the olive one, and there should be spacing be tween them. They should not overlap.
4
5 PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698