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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/row-change-background-rowspan-cell.html

Issue 2861653006: Fix LayoutTableRow::AddOverflowFromCell() (Closed)
Patch Set: Deflake the test Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/paint/invalidation/table/row-change-background-rowspan-cell.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/row-change-background-rowspan-cell.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/row-change-background-rowspan-cell.html
new file mode 100644
index 0000000000000000000000000000000000000000..ea5390a01cbfb6d2d18812d55f0bef3cbdc6e4d2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/row-change-background-rowspan-cell.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<style>
+table {
+ position:relative;
+ top: 180px;
+}
+td {
+ width: 50px;
+ height: 50px;
+}
+</style>
+<script src="../resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ target.style.backgroundColor = 'green';
+}
+onload = runRepaintAndPixelTest;
+</script>
+<table>
+ <tr>
+ <td rowspan="2">1,1</td>
+ <td>1,4</td>
+ </tr>
+ <tr>
+ <td>2,3</td>
+ </tr>
+ <tr id="target">
+ <td rowspan="2">3,1</td>
+ <td>3,4</td>
+ </tr>
+ <tr>
+ <td>4,4</td>
+ </tr>
+</table>

Powered by Google App Engine
This is Rietveld 408576698