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

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

Issue 2037783002: Percent height content should respect the fixed height of its containing cell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@24826-2
Patch Set: Updated Created 4 years, 6 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
(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 border: 1px solid #ccc;
19 }
20 .content {
21 background-color: black;
22 height: 2000px;
23 width: 225px;
24 }
25 </style>
26 <table>
27 <td class="cell-specified-height">
28 <div class="container" data-expected-height=200>
29 <div class="content"></div>
30 </div>
31 </td>
32 </table>
33 <script src="../../resources/check-layout.js"></script>
34 <p> crbug.com/465096: Percent height content in a cell with a computed height sh ould use the height of the cell. </p>
35 <div id="output"></div>
36 <script>
37 checkLayout('.container', output);
38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698