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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/balance-float-in-inline.html

Issue 2453743002: The column balancer needs to look inside inlines. (Closed)
Patch Set: Created 4 years, 1 month 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/ColumnBalancer.h » ('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>There should be a blue square below.</p>
3 <div style="position:relative; columns:4; column-gap:0; width:600px;">
4 <br>
5 <span>
6 <div id="float" style="float:right; break-inside:avoid; width:150px; hei ght:150px; background:blue;"></div>
7 </span>
8 </div>
9 <script src="../../resources/testharness.js"></script>
10 <script src="../../resources/testharnessreport.js"></script>
11 <script>
12 test(() => {
13 var elm = document.getElementById("float");
14 assert_equals(elm.offsetTop, 0);
15 assert_equals(elm.offsetLeft, 150);
16 assert_equals(elm.offsetWidth, 150);
17 assert_equals(elm.offsetHeight, 150);
18 }, "Unbreakable float inside inline.");
19 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ColumnBalancer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698