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

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

Powered by Google App Engine
This is Rietveld 408576698