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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-cell.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 table {
4 width: 250px;
5 }
6
7 td {
8 width: 242px;
9 }
10
11 .cell-specified-height {
12 height: 202px;
13 }
14
15 .container {
16 height: 100%;
17 overflow-y: hidden;
18 }
19 .content {
20 background-color: black;
21 height: 2000px;
22 width: 225px;
23 }
24 </style>
25 <table>
26 <td class="cell-specified-height">
27 <div class="container" data-expected-height=2000>
28 <div class="content"></div>
29 </div>
30 </td>
31 </table>
32 <script src="../../resources/check-layout.js"></script>
33 <p> crbug.com/465096: Percent height content in a cell with a computed height sh ould use the height of the cell. </p>
34 <div id="output"></div>
35 <script>
36 document.body.offsetTop;
37 checkLayout('.container', output);
38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698