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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/table-in-subpixel-fragmentainer.html

Issue 2382043003: Use ceil() when integerizing pagination struts before table rows. (Closed)
Patch Set: rebase master Created 4 years, 2 months 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 <style>
3 body { overflow:hidden; } /* Avoid triggering a second layout pass, as that migh t hide bugs. */
4 .table { display:table; width:100%; }
5 .row { display:table-row; break-inside:avoid; }
6 .row > div { width:100%; height:60px; background:blue; }
7 </style>
8 <p>There should be six blue squares below. They should ideally be
9 perfectly vertically aligned, but since Blink doesn't support
10 subpixel rendering inside tables, off-by-one is acceptable. But
11 there should be no blue lines below the squares.</p>
12 <div id="multicol" style="position:relative; width:410px; columns:6; column-fill :auto; column-gap:10px; height:88.7px;">
13 <div class="table">
14 <div class="row">
15 <div data-offset-x="0"></div>
16 </div>
17 <div class="row">
18 <div data-offset-x="70"></div>
19 </div>
20 <div class="row">
21 <div data-offset-x="140"></div>
22 </div>
23 <div class="row">
24 <div data-offset-x="210"></div>
25 </div>
26 <div class="row">
27 <div data-offset-x="280"></div>
28 </div>
29 <div class="row">
30 <div data-offset-x="350"></div>
31 </div>
32 </div>
33 </div>
34
35 <script src="../resources/check-layout.js"></script>
36 <script>
37 checkLayout("#multicol");
38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698