Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/multicol/relayout-and-push-float.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/multicol/relayout-and-push-float.html b/third_party/WebKit/LayoutTests/fast/multicol/relayout-and-push-float.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3a317c758fb7d5dc0d213cce0b12812fb5a3b2e9 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/multicol/relayout-and-push-float.html |
| @@ -0,0 +1,24 @@ |
| +<!DOCTYPE html> |
| +<script src="../../resources/check-layout.js"></script> |
| +<p>Test that re-laying out a float and at the same time pushing it downwards properly moves it to |
| + next column, and that we don't get a residual pagination strut before the second float.</p> |
| +<p>There should be a blue square below.</p> |
| +<div id="container" style="position:relative; -webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:80px; height:70px; line-height:20px;"> |
| + <span id="newElm" style="display:none;"> |
| + <br> |
| + </span> |
| + <br> |
| + <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.
|
| + <div id="firstFloat" style="float:left; width:30px; background:blue;" data-offset-y="0"> |
| + <br> |
| + </div> |
| + <div style="float:left; width:40px; background:blue;" data-offset-y="20"> |
| + <br> |
| + </div> |
| +</div> |
| +<script> |
| + document.body.offsetTop; |
| + document.getElementById("newElm").style.display = "inline"; |
| + document.getElementById("firstFloat").style.paddingLeft = "10px"; |
| + checkLayout("#container"); |
| +</script> |