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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/widows-change-width-abspos-right-aligned.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> below.</p>
3 <div style="margin-left:100px; width:50px; height:25px; background:blue;"></div>
4 <div style="columns:2; column-fill:auto; height:90px; line-height:20px; widows:3 ;">
5 <div id="lines" style="position:relative; width:100px; height:110px;">
6 <div id="abspos" style="position:absolute; width:50px; height:25px; top: 0; right:0; background:blue;"></div>
7 <br>
8 <br>
9 <br>
10 <br>
11 <br>
12 </div>
13 </div>
14 <script src="../resources/testharness.js"></script>
15 <script src="../resources/testharnessreport.js"></script>
16 <script>
17 test(() => {
18 var lines = document.getElementById("lines");
19 var abspos = document.getElementById("abspos");
20 assert_equals(abspos.offsetLeft, 50);
21 lines.style.width = "150px";
22 assert_equals(abspos.offsetLeft, 100);
23 }, "Resize container with right-aligned abspos and widows");
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698