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

Side by Side Diff: LayoutTests/fast/block/margin-collapse/bfc-beside-float-complex-margin-collapsing-expected.html

Issue 1315353005: Avoid duplicated code in LayoutBlockChild::layoutBlockChild(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 <!DOCTYPE html>
2 <p>Given a float followed by a regular block with the same height as the float, then a block B with
3 a negative margin, followed by a block with with overflow:hidden. Check that the
4 overflow:hidden block doesn't overlap with the float, and also that it takes up all available
5 space (but not more) beside the float. There's an empty collapse-through blo ck before B, so
6 that our initial logical top estimate fails and we have to relayout. When la ying out again, we
7 have to detect that the float that we first thought didn't affect the overfl ow:hidden block now
8 affects it.</p>
9 <p>Below there should be an olive square to the left of a navy square. The navy square should be
10 slightly larger than the olive one, and there should be spacing between them . They should not
11 overlap.</p>
12 <div style="float:left; width:8em; height:8em; margin-right:1em; background:oliv e;"></div>
13 <div style="float:left; width:9em; height:9em; background:navy;"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698