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

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

Issue 2148513002: Calculate border-box dimensions correctly for cells (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@619509-2
Patch Set: bug 627305 Created 4 years, 5 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 td {
4 width: 50px;
5 height: 50px;
6 padding: 0px;
7 }
8 #div {
9 height: 100%;
10 }
11 </style>
12 <table style="border-collapse:collapse" id="table" data-expected-height=86 data- expected-width=86>
13 <tr style="border:18px solid lightblue" id="row">
14 <td><div id="div" style="background:black" data-expected-height=50 data- expected-width=50></div></td>
15 </tr>
16 </table>
17 <script src="../../resources/check-layout.js"></script>
18 <p> crbug.com/627305: Percent height content in a content-box sized cell with a computed height should use the height of the cell. </p>
19 <div id="output"></div>
20 <script>
21 checkLayout('#table', output);
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698