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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/cells-with-intrinsic-padding.html

Issue 2060103002: Use the correct height on cells when calculating row height in paged contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bug 617443 Created 4 years, 6 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 td {
4 font: 20px Ahem;
5 }
6 </style>
7 <p>crbug.com/617443: Avoid setting a pagination strut on cells when we're laying them out to figure out the height of their row.
8 When we're figuring out the height of the row, we need the raw height of cell s and that should exclude struts.
9 The black boxes in the cells below should be on the same baseline.</p>
10 <div id="container" style="columns:1; column-fill:auto; column-gap:0; width:250p x; height:150px;">
11 <table>
12 <tr><td>Text Text</td><td>Text</td></tr>
13 <tr><td>Text Text</td><td>Text</td></tr>
14 <tr><td>Text Text</td><td>Text</td></tr>
15 <tr><td>Text Text</td><td>Text</td></tr>
16 </table>
17 </div>
18 <script>
19 document.body.offsetTop;
20 document.getElementById("container").style.width="600px";
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698