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

Side by Side Diff: LayoutTests/fast/block/margin-collapse/line-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: Check that a line inside B doesn't overlap with the float . There's an empty
4 collapse-through block before B, so that our initial logical top estimate fa ils and we have to
5 relayout. When laying out again, we have to detect that the float that we fi rst thought didn't
6 affect the line now affects it.</p>
7 <p>The word "PASS" should be seen below, to the right of a blue block.</p>
8 <div style="color:blue;">
9 <div style="float:left; width:8em; height:8em; margin-right:1em; background: blue;"></div>
10 <div style="height:4em;"></div>
11 PASS
12 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698