Index: LayoutTests/fast/table/whitespace-between-elements-with-table-cell-display.html |
diff --git a/LayoutTests/fast/table/whitespace-between-elements-with-table-cell-display.html b/LayoutTests/fast/table/whitespace-between-elements-with-table-cell-display.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..39b0ce636fc645838bbed645bc97f1960286a311 |
--- /dev/null |
+++ b/LayoutTests/fast/table/whitespace-between-elements-with-table-cell-display.html |
@@ -0,0 +1,28 @@ |
+<!DOCTYPE html> |
+<style> |
+input,button{ |
+ display: table-cell; |
+ height:24px; |
+} |
+input{ |
+ border-width:1px 0 1px 1px; |
+ padding: 0 5px; |
+ width:196px; |
+} |
+button{ |
+ width:27px; |
+} |
+.container{ |
+ width:236px; |
+} |
+.inner{ |
+ display: table; |
+} |
+</style> |
+<div class="container"> |
+ <div class="inner" data-expected-height=31> |
+ <input type="text"> |
+ <button></button> |
+ </div> |
+</div> |
+<p>crbug.com/515771: Form elements with a table cell display should not allow whitespace between them. </p> |