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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/abspos-new-width-rebalance.html

Issue 2471623003: Complete layout even if a block needs relayout due to widows or column balancing. (Closed)
Patch Set: Getting the flowthread once makes the code slighty prettier. Created 4 years 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>There should be a blue <em>square</em> in the top-right corner of this page.< /p>
3 <div style="position:relative; width:500px; height:100px; ">
4 <div style="position:absolute; right:0; top:0; width:50px; height:25px; back ground:blue;"></div>
5 <div id="multicol" style="position:absolute; columns:2; top:25px; right:0; w idth:200px;">
6 <div id="abspos" style="position:absolute; width:50px; height:25px; top: 0; right:0; background:blue;"></div>
7 <div style="width:100px; height:100px;"></div>
8 </div>
9 </div>
10 <script src="../../resources/testharness.js"></script>
11 <script src="../../resources/testharnessreport.js"></script>
12 <script>
13 test(() => {
14 var multicol = document.getElementById("multicol");
15 var abspos = document.getElementById("abspos");
16 assert_equals(abspos.offsetLeft, 150);
17 multicol.style.width = "300px";
18 assert_equals(abspos.offsetLeft, 250);
19 }, "Resize (multicol) container of right-aligned abspos");
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698