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

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: 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:70px; line-height:20px;">
7 <span id="newElm" style="display:none;">
8 <br>
9 </span>
10 <br>
11 <br>
leviw_travelin_and_unemployed 2015/10/06 10:54:02 Are both of these br's necessary?
mstensho (USE GERRIT) 2015/10/06 11:31:11 One is actually enough. Fixed.
12 <div id="firstFloat" style="float:left; width:30px; background:blue;" data-o ffset-y="0">
13 <br>
14 </div>
15 <div style="float:left; width:40px; background:blue;" data-offset-y="20">
16 <br>
17 </div>
18 </div>
19 <script>
20 document.body.offsetTop;
21 document.getElementById("newElm").style.display = "inline";
22 document.getElementById("firstFloat").style.paddingLeft = "10px";
23 checkLayout("#container");
24 </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