Index: LayoutTests/fast/table/resize-table-repaint-vertical-align-cell.html |
diff --git a/LayoutTests/fast/table/resize-table-repaint-vertical-align-cell.html b/LayoutTests/fast/table/resize-table-repaint-vertical-align-cell.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6679d1d7354d86472799924a63efaae66d1eba1e |
--- /dev/null |
+++ b/LayoutTests/fast/table/resize-table-repaint-vertical-align-cell.html |
@@ -0,0 +1,28 @@ |
+<!DOCTYPE html> |
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ document.getElementById('table').style.height = '80%'; |
+} |
+runRepaintTest(); |
+</script> |
+<style> |
+body { |
+ margin: 0; |
+} |
+table { |
+ position: absolute; |
+ height: 100px; |
+} |
+td { |
+ vertical-align: middle; |
+ width: 100px; |
+} |
+</style> |
+<!-- Tests repaint of middle-vertical-aligned table cells when table changes size. |
+ The result repaint rects should cover the middle-vertical-aligned table cells. --> |
Julien - ping for review
2014/07/28 17:23:19
Let's dump this into the output.
Xianzhu
2014/07/28 20:55:27
Done.
|
+<table id="table"> |
+ <tr> |
+ <td>MIDDLE</td> |
+ </tr> |
+</table> |