Index: LayoutTests/fast/table/outline-change-in-table-cell.html |
diff --git a/LayoutTests/fast/table/outline-change-in-table-cell.html b/LayoutTests/fast/table/outline-change-in-table-cell.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bba8cb44ec51307faf9f5a8ed7d2061629dcc94e |
--- /dev/null |
+++ b/LayoutTests/fast/table/outline-change-in-table-cell.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<script src="../repaint/resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ document.getElementById('target').style.outline = '20px solid green'; |
+} |
+onload = runRepaintTest; |
+</script> |
+<p style="height: 100px"> |
+Tests overflow recalc and paint invalidation in a table cell when outline changes. |
+Passes if there is a thick green outline and no red. |
+</p> |
+<table style="border: none; margin: 30px"> |
+ <tr> |
+ <td> |
+ <div id="target" style="width: 100px; height: 100px; outline: 1px solid red"></div> |
+ </td> |
+ </tr> |
+</table> |