| Index: third_party/WebKit/LayoutTests/paint/invalidation/table/resize-table-repaint-vertical-align-cell.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/resize-table-repaint-vertical-align-cell.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/resize-table-repaint-vertical-align-cell.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..06c88fd6adc5e348c0ed392310a5405c643d8e4b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/resize-table-repaint-vertical-align-cell.html
|
| @@ -0,0 +1,30 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/text-based-repaint.js"></script>
|
| +<script>
|
| +function repaintTest() {
|
| + document.getElementById('table').style.height = '80%';
|
| +}
|
| +onload = runRepaintAndPixelTest;
|
| +</script>
|
| +<style>
|
| +body {
|
| + margin: 0;
|
| +}
|
| +table {
|
| + position: absolute;
|
| + height: 100px;
|
| +}
|
| +td {
|
| + vertical-align: middle;
|
| + width: 100px;
|
| +}
|
| +</style>
|
| +<div style="height: 50px">
|
| +Tests repaint of middle-vertical-aligned table cells when table changes size.
|
| +The result repaint rects should cover the middle-vertical-aligned table cells.
|
| +</div>
|
| +<table id="table">
|
| + <tr>
|
| + <td>MIDDLE</td>
|
| + </tr>
|
| +</table>
|
|
|