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

Unified Diff: LayoutTests/paint/invalidation/spv2/overflow-flipped-writing-mode-table.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/overflow-flipped-writing-mode-table.html
diff --git a/LayoutTests/fast/repaint/overflow-flipped-writing-mode-table.html b/LayoutTests/paint/invalidation/spv2/overflow-flipped-writing-mode-table.html
similarity index 61%
copy from LayoutTests/fast/repaint/overflow-flipped-writing-mode-table.html
copy to LayoutTests/paint/invalidation/spv2/overflow-flipped-writing-mode-table.html
index 6f9486f5a45ab1cb045da6d1ca3b6f4e11f2ca89..8da76259923b0e68d71c3205b67ced31a2e8933f 100644
--- a/LayoutTests/fast/repaint/overflow-flipped-writing-mode-table.html
+++ b/LayoutTests/paint/invalidation/spv2/overflow-flipped-writing-mode-table.html
@@ -1,8 +1,12 @@
-<script src="resources/text-based-repaint.js"></script>
+<!-- Based on fast/repaint/overflow-flipped-writing-mode-table.html -->
+<script src="resources/paint-invalidation-test.js"></script>
<script>
- onload = runRepaintTest;
+ onload = runPaintInvalidationTest;
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("target").style.visibility = "hidden";
}

Powered by Google App Engine
This is Rietveld 408576698