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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/dynamic/change-second-row-height.html

Issue 2562273003: Disable layout optimization when column height may be non-uniform. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('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 <p>The word "HEST" should be seen below.</p>
3 <div style="position:relative; columns:2; column-gap:0; column-fill:auto; width: 400px; height:40px; line-height:20px; orphans:1; widows:1;">
4 <div id="inner" style="columns:2; column-gap:0; column-fill:auto; height:80p x;">
5 <div>
6 <br>
7 <br>
8 <br>
9 <br>
10 <br>
11 <span id="elm">HEST</span><br>
12 </div>
13 </div>
14 </div>
15 <script src="../../../resources/testharness.js"></script>
16 <script src="../../../resources/testharnessreport.js"></script>
17 <script>
18 test(() => {
19 var inner = document.getElementById("inner");
20 var elm = document.getElementById("elm");
21 assert_equals(elm.offsetLeft, 200);
22 document.body.offsetLeft;
23 inner.style.height = "72px";
24 assert_equals(elm.offsetLeft, 300);
25 }, "Change inner multicol height, which only affects the second row.");
26 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698