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

Side by Side Diff: LayoutTests/fast/box-sizing/table-collapse.html

Issue 25206002: A height of a table which has position: absolute and box-sizing: border-box ignores half of the bor… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: /Users/yukisekiguchi/work/chromium-blink/src/third_party/WebKit/LayoutTests/fast/box-sizing/table-c… Created 7 years, 2 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 <html>
3 <head>
4 </head>
5 <body>
6 <style>
7 table {
8 border-collapse: collapse;
9 border: 25px solid green;
10 border-top: 10px solid cyan;
11 position: absolute;
12 box-sizing: border-box;
13 outline: 5px solid blue;
14 }
15 div {
16 background-color: yellow;
17 height: 50px;
18 width: 50px;
19 }
20 </style>
21 <script src="../../resources/check-layout.js"></script>
22 <script>
23 window.onload = function () {
24 checkLayout(".table");
25 }
26 </script>
27 <table class="table" data-expected-height="87px">
28 <tbody>
29 <tr>
30 <td>
31 <div></div>
32 </td>
33 </tr>
34 </tbody>
35 </table>
36 <table style="top: 200px;" class="table" data-expected-height="87px">
37 <tbody>
38 <tr>
39 <td>
40 <div></div>
41 </td>
42 </tr>
43 </tbody>
44 </table>
45 <table style="bottom: 100px;" class="table" data-expected-height="87px">
46 <tbody>
47 <tr>
48 <td>
49 <div></div>
50 </td>
51 </tr>
52 </tbody>
53 </table>
54 </body>
55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698