OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 input,button{ | |
4 display: table-cell; | |
5 height:24px; | |
6 } | |
7 input{ | |
8 border-width:1px 0 1px 1px; | |
9 padding: 0 5px; | |
10 width:196px; | |
11 } | |
12 button{ | |
13 width:27px; | |
14 } | |
15 .inner{ | |
16 display: table; | |
17 } | |
18 </style> | |
19 <div class="container"> | |
20 <div class="inner" data-expected-height=31> | |
21 <input type="text"> | |
22 <button></button> | |
23 </div> | |
24 </div> | |
25 <p>crbug.com/515771: Form elements with a table cell display should not allow wh itespace between them. </p> | |
OLD | NEW |