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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-percent-height-cell-with-height-from-row.html

Issue 2816313002: Treat cells with percent height as auto if their container depends on content height (Closed)
Patch Set: bug 687551 Created 3 years, 8 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
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <style> 2 <style>
3 #test { 3 #test {
4 background-color: green; 4 background-color: green;
5 padding: 0px; 5 padding: 0px;
6 margin: 0px; 6 margin: 0px;
7 } 7 }
8 .full { 8 .full {
9 height: 100%; 9 height: 100%;
10 width: 100%; 10 width: 100%;
11 } 11 }
12 </style> 12 </style>
13 <p>crbug.com/637811: There should be a green box below.</p> 13 <p>crbug.com/637811: There should be no box below.</p>
14 <table style="width: 100px;"> 14 <table style="width: 100px;">
15 <tr> 15 <tr>
16 <td> 16 <td>
17 <div style="height: 50px; width: 50px;"></div> 17 <div style="height: 50px; width: 50px;"></div>
18 </td> 18 </td>
19 <td class="full"> 19 <td class="full">
20 <table id="test" class="full" data-expected-height=50 data-expected- width=40></table> 20 <table id="test" class="full" data-expected-height=0 data-expected-w idth=40></table>
21 </td> 21 </td>
22 </tr> 22 </tr>
23 </table> 23 </table>
24 <p>crbug.com/637811: There should be a green box below.</p> 24 <p>crbug.com/637811: There should be no box below.</p>
25 <table style="width: 100px;"> 25 <table style="width: 100px;">
26 <tr> 26 <tr>
27 <td> 27 <td>
28 <div style="height: 50px; width: 50px;"></div> 28 <div style="height: 50px; width: 50px;"></div>
29 </td> 29 </td>
30 <td class="full"> 30 <td class="full">
31 <div id="test" class="full" data-expected-height=50 data-expected-wi dth=40></div> 31 <div id="test" class="full" data-expected-height=0 data-expected-wid th=40></div>
32 </td> 32 </td>
33 </tr> 33 </tr>
34 </table> 34 </table>
35 <script src="../../resources/check-layout.js"></script> 35 <script src="../../resources/check-layout.js"></script>
36 <script> 36 <script>
37 checkLayout("#test"); 37 checkLayout("#test");
38 </script> 38 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-percent-height-cell-with-height-from-row-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698