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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/relayout-and-push-float.html

Issue 1375913003: Multicol: Add test that re-lays out a float and pushes it downwards at the same time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review. Now 20% more BR-free. Created 5 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/relayout-and-push-float-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/check-layout.js"></script>
3 <p>Test that re-laying out a float and at the same time pushing it downwards pro perly moves it to
4 next column, and that we don't get a residual pagination strut before the se cond float.</p>
5 <p>There should be a blue square below.</p>
6 <div id="container" style="position:relative; -webkit-columns:2; -webkit-column- gap:0; column-fill:auto; width:80px; height:50px; line-height:20px;">
7 <span id="newElm" style="display:none;">
8 <br>
9 </span>
10 <br>
11 <div id="firstFloat" style="float:left; width:30px; background:blue;" data-o ffset-y="0">
12 <br>
13 </div>
14 <div style="float:left; width:40px; background:blue;" data-offset-y="20">
15 <br>
16 </div>
17 </div>
18 <script>
19 document.body.offsetTop;
20 document.getElementById("newElm").style.display = "inline";
21 document.getElementById("firstFloat").style.paddingLeft = "10px";
22 checkLayout("#container");
23 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/relayout-and-push-float-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698