| Index: LayoutTests/fast/forms/form-elements-display-table-cell.html
|
| diff --git a/LayoutTests/fast/forms/form-elements-display-table-cell.html b/LayoutTests/fast/forms/form-elements-display-table-cell.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..63cfb1f58b0245c0d35b6605ed3f735d34d8bd12
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/forms/form-elements-display-table-cell.html
|
| @@ -0,0 +1,28 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +input,button{
|
| + display: table-cell;
|
| +}
|
| +.container{
|
| + width:300px;
|
| +}
|
| +.inner{
|
| + display: table;
|
| +}
|
| +</style>
|
| +<div class="container">
|
| + <div class="inner">
|
| + <input type="text">
|
| + <button></button>
|
| + </div>
|
| +</div>
|
| +<p>crbug.com/515771: Form elements should allow table-part display values. In this test, we have an input and a button
|
| + with display: table-cell inside a div container display: table. So the table should get a rendertree like this:
|
| + LayoutTable {DIV}
|
| + LayoutTableSection (anonymous)
|
| + LayoutTableRow (anonymous)
|
| + LayoutTableCell (anonymous)
|
| + LayoutTextControl {INPUT}
|
| + LayoutTableCell (anonymous)
|
| + LayoutButton {BUTTON}
|
| + </p>
|
|
|