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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-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 width: 50px;
8 }
9 .full {
10 height: 100%;
11 width: 100%;
12 }
13 .fixed {
14 height: 50px;
15 }
16 </style>
17 <p>crbug.com/637811: There should be a green box below.</p>
18 <table style="width: 50px;">
19 <tr>
20 <td class="fixed">
21 <table id="test" class="full" data-expected-height=50 data-expected- width=50></table>
22 </td>
23 </tr>
24 </table>
25 <p>crbug.com/637811: There should be a green box below.</p>
26 <table style="width: 50px;">
27 <tr>
28 <td class="fixed">
29 <div id="test" class="full" data-expected-height=50 data-expected-wi dth=50></div>
30 </td>
31 </tr>
32 </table>
33 <script src="../../resources/check-layout.js"></script>
34 <script>
35 checkLayout("#test");
36 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698