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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell-with-collapsed-border.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 box-sizing: border-box;
8 }
9 #div {
10 height: 100%;
11 }
12 </style>
13 <table style="border-collapse:collapse" id="table" data-expected-height=68 data- expected-width=68>
14 <tr style="border:18px solid lightblue" id="row">
15 <td><div id="div" style="background:black" data-expected-height=32 data- expected-width=32></div></td>
16 </tr>
17 </table>
18 <script src="../../resources/check-layout.js"></script>
19 <p> crbug.com/627305: Percent height content in a border-box sized cell with a c omputed height should use the height of the cell. </p>
20 <div id="output"></div>
21 <script>
22 checkLayout('#table', output);
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698