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

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

Issue 2441373002: Percent height content should respect the height of its containing cell (Closed)
Patch Set: bug 637811 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
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <style>
3 #test {
4 background-color: green;
5 padding: 0px;
6 margin: 0px;
7 }
8 .full {
9 height: 100%;
10 width: 100%;
11 }
12 </style>
13 <p>crbug.com/637811: There should be a green box below.</p>
14 <table style="width: 100px;">
15 <tr>
16 <td>
17 <div style="height: 50px; width: 50px;"></div>
18 </td>
19 <td class="full">
20 <table id="test" class="full" data-expected-height=50 data-expected- width=40></table>
21 </td>
22 </tr>
23 </table>
24 <p>crbug.com/637811: There should be a green box below.</p>
25 <table style="width: 100px;">
26 <tr>
27 <td>
28 <div style="height: 50px; width: 50px;"></div>
29 </td>
30 <td class="full">
31 <div id="test" class="full" data-expected-height=50 data-expected-wi dth=40></div>
32 </td>
33 </tr>
34 </table>
35 <script src="../../resources/check-layout.js"></script>
36 <script>
37 checkLayout("#test");
38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698