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

Side by Side Diff: LayoutTests/fast/forms/form-elements-display-table-section.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-cell;
5 }
6 .container{
7 width:300px;
8 }
9 .inner{
10 display: table;
11 }
12 </style>
13 <div class="container">
14 <div class="inner">
15 <input type="text">
16 <button></button>
17 </div>
18 </div>
19 <p>crbug.com/515771: Form elements should allow table-part display values. In th is test, we have an input and a button
20 with display: table-row-group inside a div container display: table. So the t able should get a rendertree like this:
21 LayoutTable {DIV}
22 LayoutTableSection (anonymous)
23 LayoutTableRow (anonymous)
24 LayoutTableCell (anonymous)
25 LayoutTextControl {INPUT}
26 LayoutButton {BUTTON}
27 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698