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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table-extra-bottom-grow.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-extra-bottom-grow.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table-extra-bottom-grow.html b/third_party/WebKit/LayoutTests/paint/invalidation/table-extra-bottom-grow.html
new file mode 100644
index 0000000000000000000000000000000000000000..78181155d06d80d0042289d7c2eb200acf862b2a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table-extra-bottom-grow.html
@@ -0,0 +1,38 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http:/html4/strict.dtd">
+<html lang="en">
+<head>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+ function repaintTest()
+ {
+ document.getElementById("t").style.height='100px';
+ }
+</script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6769">Bugzilla bug 6769</a> REGRESSION: Incomplete repaint when a cell's extra bottom margin grows</p>
+
+<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
+There should be only a green square below, and no red.
+</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+The lower-right quarter of the square will be red.
+</p>
+
+<table style="background: green;" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="height: 100px; width: 50px;" rowspan="2">
+ </td>
+ <td style="width: 50px; vertical-align: top; background: green; height: 50px;" id="t">
+ </td>
+ </tr>
+ <tr>
+ <td style="background: red;"></td>
+ </tr>
+</table>
+
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698