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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html

Issue 1591043002: Treat percent-height boxes inside auto-height cells as auto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@3_cell_height
Patch Set: make layout tests all pass Created 4 years, 11 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 #parent {
4 height: 100px;
5 width: 100px;
6 }
7
8 #child {
9 height: 100%;
10 width: 100%;
11 background: red;
12 }
13 </style>
14
15 There should be no red square below.
16 <table id="parent">
17 <tr>
18 <td>
19 <div id="child" data-expected-height="0"></div>
20 </td>
21 </tr>
22 </table>
23
24 <script src="../../resources/check-layout.js"></script>
25 <script>
26 checkLayout('#child');
mstensho (USE GERRIT) 2016/01/21 20:21:33 I suggest that you check #parent instead (which wi
dgrogan 2016/01/22 00:08:09 Good call. Done.
27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698