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

Unified Diff: LayoutTests/paint/invalidation/spv2/overflow-flipped-writing-mode-block.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-block.html
diff --git a/LayoutTests/fast/repaint/overflow-flipped-writing-mode-block.html b/LayoutTests/paint/invalidation/spv2/overflow-flipped-writing-mode-block.html
similarity index 58%
copy from LayoutTests/fast/repaint/overflow-flipped-writing-mode-block.html
copy to LayoutTests/paint/invalidation/spv2/overflow-flipped-writing-mode-block.html
index e84e7ab9ba879a3487b33bc3f90f387de59c3c19..242f848cd66b9fd7eb7bf041df0a5e0fc0621c07 100644
--- a/LayoutTests/fast/repaint/overflow-flipped-writing-mode-block.html
+++ b/LayoutTests/paint/invalidation/spv2/overflow-flipped-writing-mode-block.html
@@ -1,8 +1,12 @@
-<script src="resources/text-based-repaint.js"></script>
+<!-- Based on fast/repaint/overflow-flipped-writing-mode-block.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