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

Unified Diff: LayoutTests/paint/invalidation/spv2/background-misaligned.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/background-misaligned.html
diff --git a/LayoutTests/fast/repaint/background-misaligned.html b/LayoutTests/paint/invalidation/spv2/background-misaligned.html
similarity index 54%
copy from LayoutTests/fast/repaint/background-misaligned.html
copy to LayoutTests/paint/invalidation/spv2/background-misaligned.html
index 60e2b17b25f5538e65c8ea1d6b557c157cd69841..f85cb07ce16cb8b02b69057393bd078d4f9def90 100644
--- a/LayoutTests/fast/repaint/background-misaligned.html
+++ b/LayoutTests/paint/invalidation/spv2/background-misaligned.html
@@ -1,16 +1,20 @@
-<script src="resources/text-based-repaint.js"></script>
+<!-- Based on fast/repaint/background-misaligned.html -->
+<script src="resources/paint-invalidation-test.js"></script>
<script>
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow (positioned) DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("target").style.display = "none";
}
</script>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div style="
width: 267px;
height: 270px;
border: solid black;
- background-image: url(../backgrounds/size/resources/bikes.bmp);
+ background-image: url(../../../fast/backgrounds/size/resources/bikes.bmp);
-webkit-background-size: 500% 500%;
position: relative;
">

Powered by Google App Engine
This is Rietveld 408576698