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

Unified Diff: LayoutTests/paint/invalidation/spv2/intermediate-layout-position-clip.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/intermediate-layout-position-clip.html
diff --git a/LayoutTests/fast/repaint/intermediate-layout-position-clip.html b/LayoutTests/paint/invalidation/spv2/intermediate-layout-position-clip.html
similarity index 68%
copy from LayoutTests/fast/repaint/intermediate-layout-position-clip.html
copy to LayoutTests/paint/invalidation/spv2/intermediate-layout-position-clip.html
index dd47df0e8ec84b6a1d4f227489ea74a72579284f..54e61faff0b686bd7b2bfdf80415fc9fa12df66b 100644
--- a/LayoutTests/fast/repaint/intermediate-layout-position-clip.html
+++ b/LayoutTests/paint/invalidation/spv2/intermediate-layout-position-clip.html
@@ -1,3 +1,4 @@
+<!-- Based on fast/repaint/intermediate-layout-position-clip.html -->
<html>
<head>
<title></title>
@@ -5,15 +6,18 @@
.float { float: right; height: 40px; width: 40px; }
.test { height: 200px; background-color: aliceblue }
</style>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
+ <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
<script type="text/javascript">
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById('target').style.height='20px';
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div id="scroller" style="overflow: hidden; height: 40px">
<div class="test">
<div class="float"></div>

Powered by Google App Engine
This is Rietveld 408576698