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

Side by Side Diff: LayoutTests/fast/forms/form-elements-display-table.html

Issue 1280123004: Don't allow whitespace between elements with display:table-cell (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 input,button{
4 display: table;
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 .container{
16 width:236px;
17 }
18 .inner{
19 display: table;
20 }
21 </style>
22 <div class="container">
23 <div class="inner">
24 <input type="text">
25 <button></button>
26 </div>
27 </div>
28 <p>crbug.com/515771: Form elements should allow table-part display values. In th is test, we have an input and a button
29 with display: table-cell inside a div container display: table. So the table should get a rendertree like this:
30 LayoutTable {DIV}
31 LayoutTableSection (anonymous)
32 LayoutTableRow (anonymous)
33 LayoutTableCell (anonymous)
34 LayoutTextControl {INPUT}
35 LayoutButton {BUTTON}
36 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698