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

Unified Diff: LayoutTests/fast/box-sizing/table-no-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/box-sizing/table-no-collapse.html
diff --git a/LayoutTests/fast/box-sizing/table-no-collapse.html b/LayoutTests/fast/box-sizing/table-no-collapse.html
new file mode 100644
index 0000000000000000000000000000000000000000..1c3dd80558357774ea35bf35d333881a4f848d78
--- /dev/null
+++ b/LayoutTests/fast/box-sizing/table-no-collapse.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+ <style>
+ table {
+ border: 25px solid green;
+ border-top: 10px solid cyan;
+ position: absolute;
+ box-sizing: border-box;
+ outline: 5px solid blue;
+ }
+ div {
+ background-color: yellow;
+ height: 50px;
+ width: 50px;
+ }
+ </style>
+ <script src="../../resources/check-layout.js"></script>
+ <script>
+ window.onload = function () {
+ checkLayout(".table");
+ }
+ </script>
+ <table class="table" data-expected-height="91px">
+ <tbody>
+ <tr>
+ <td>
+ <div></div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <table style="top: 200px;" class="table" data-expected-height="91px">
+ <tbody>
+ <tr>
+ <td>
+ <div></div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <table style="bottom: 100px;" class="table" data-expected-height="91px">
+ <tbody>
+ <tr>
+ <td>
+ <div></div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</body>
+</html>
« no previous file with comments | « LayoutTests/fast/box-sizing/table-collapse-expected.txt ('k') | LayoutTests/fast/box-sizing/table-no-collapse-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698