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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-auto-content-in-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 height: 100px;
5 }
6 #content {
7 height: 100%;
8 width: 100%;
9 overflow: auto;
10 }
11 </style>
12 <table class="test" data-expected-height=100>
13 <tr>
14 <td class="test" data-expected-height=96><div id="content" class="test" data-expected-height=94><img src="../images/resources/green-256x256.jpg"></div>< /td>
15 </tr>
16 </table>
17 <script src="../../resources/check-layout.js"></script>
18 <p> crbug.com/637811: Percent height overflow auto content in a cell should not flex the height of the cell. </p>
19 <div id="output"></div>
20 <script>
21 checkLayout('.test', output);
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698