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

Unified Diff: LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.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/relative-positioned-movement-repaint.html
diff --git a/LayoutTests/fast/repaint/relative-positioned-movement-repaint.html b/LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.html
similarity index 64%
copy from LayoutTests/fast/repaint/relative-positioned-movement-repaint.html
copy to LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.html
index 9c009bf7966d28262498eaeb2a897cfe19dda412..0e914e1322e9afc212441ea5a802e157661d0291 100644
--- a/LayoutTests/fast/repaint/relative-positioned-movement-repaint.html
+++ b/LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.html
@@ -1,3 +1,4 @@
+<!-- Based on fast/repaint/relative-positioned-movement-repaint.html -->
<!DOCTYPE html>
<style>
#block {
@@ -11,14 +12,16 @@
left: 10px;
}
</style>
-<script src="resources/text-based-repaint.js"></script>
+<script src="resources/paint-invalidation-test.js"></script>
<script>
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ ];
+ function paintInvalidationTest()
{
document.body.offsetTop;
var div = document.getElementById("block");
div.style.left = '50px';
}
- window.onload = runRepaintTest;
+ window.onload = runPaintInvalidationTest;
</script>
<div id="block">When this layer moves it shouldn't generate a repaint rect.</div>

Powered by Google App Engine
This is Rietveld 408576698