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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table-cell-move.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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-cell-move.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-move.html b/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-move.html
new file mode 100644
index 0000000000000000000000000000000000000000..9dbed734f8253364290ae0f8486349f84e77c9a0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table-cell-move.html
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http:/html4/strict.dtd">
+<html>
+<head>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+ function repaintTest()
+ {
+ document.getElementById("t").style.height='60px';
+ document.getElementById("s").style.height='0';
+ }
+</script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=8449">Bugzilla bug 8449</a>
+REGRESSION: Incomplete repaint of table cell that moved
+<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
+There should be only a green square below the line, and no red.
+</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+There will be a red square and a green rectangle.
+</p>
+<hr>
+<table cellspacing="0" cellpadding="0">
+ <tr>
+ <td></td>
+ <td style="height: 0;" id="t"></td>
+ </tr>
+ <tr>
+ <td style="width: 60px;">
+ <div style="background: green; height: 60px;"></div>
+ </td>
+ <td style="height: 180px;"></td>
+ </tr>
+ <tr>
+ <td style="background: red;"></td>
+ <td style="height: 60px;" id="s"></td>
+ </tr>
+</table>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698