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

Unified Diff: LayoutTests/paint/invalidation/spv2/table-cell-overflow.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/paint/invalidation/spv2/table-cell-overflow.html
diff --git a/LayoutTests/fast/repaint/table-cell-overflow.html b/LayoutTests/paint/invalidation/spv2/table-cell-overflow.html
similarity index 63%
copy from LayoutTests/fast/repaint/table-cell-overflow.html
copy to LayoutTests/paint/invalidation/spv2/table-cell-overflow.html
index c3913cb7dfad9b221a9def08a7140fc0258a06c2..b399f1767ee4fe77a52c5ab1b5a0ca7d61f8ec76 100644
--- a/LayoutTests/fast/repaint/table-cell-overflow.html
+++ b/LayoutTests/paint/invalidation/spv2/table-cell-overflow.html
@@ -1,13 +1,17 @@
+<!-- Based on fast/repaint/table-cell-overflow.html -->
<head>
-<script src="resources/text-based-repaint.js"></script>
+<script src="resources/paint-invalidation-test.js"></script>
<script>
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("target").style.backgroundColor = "transparent";
}
</script>
</head>
-<body onload="runRepaintTest();">
+<body onload="runPaintInvalidationTest();">
<table cellpadding=1 cellspacing=0>
<tr>
<td>

Powered by Google App Engine
This is Rietveld 408576698