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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/height-css-tables-expected.html

Issue 2670603002: Avoid pathological layout on nested percent height tables (Closed)
Patch Set: bug 687061 Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/table-two-pass-layout-overpaint-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <style> 3 <style>
4 .item { height: 50px; width: 50px; border: 1px solid blue; } 4 .item { height: 50px; width: 50px; border: 1px solid blue; }
5 5
6 .container { height: 100px; border: 5px solid pink; } 6 .container { height: 100px; border: 5px solid pink; }
7 .table { border: 2px solid red; display: table; border-spacing: 2px; } 7 .table { border: 2px solid red; display: table; border-spacing: 2px; }
8 .td { border: 2px solid green; display: table-cell; } 8 .td { border: 2px solid green; display: table-cell; }
9 </style> 9 </style>
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 <div class="container"> 23 <div class="container">
24 <div class="table" style="height: 100%; box-sizing: border-box;"> 24 <div class="table" style="height: 100%; box-sizing: border-box;">
25 <div class="td"> 25 <div class="td">
26 <div class="item"></div> 26 <div class="item"></div>
27 </div> 27 </div>
28 </div> 28 </div>
29 </div> 29 </div>
30 30
31 31
32 <div class="table container" style="display: block; float: left; height: 98px;"> 32 <div class="table container" style="display: block; float: left; height: 99px;">
mstensho (USE GERRIT) 2017/02/07 21:09:10 This deserves an comment, with a reference to the
33 <div class="td" style="height: 90px;" style="display: block;"> 33 <div class="td" style="height: 91px;" style="display: block;">
34 <div class="item"></div> 34 <div class="item"></div>
35 </div> 35 </div>
36 </div> 36 </div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/table-two-pass-layout-overpaint-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698