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

Unified Diff: LayoutTests/paint/invalidation/spv2/fixed-tranformed.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/fixed-tranformed.html
diff --git a/LayoutTests/fast/repaint/fixed-tranformed.html b/LayoutTests/paint/invalidation/spv2/fixed-tranformed.html
similarity index 73%
copy from LayoutTests/fast/repaint/fixed-tranformed.html
copy to LayoutTests/paint/invalidation/spv2/fixed-tranformed.html
index 42f6de9a26c368116ece651e7ad333069e7eec2c..6f382d6eaec84fc9e4068fa7121643b35fcd1f35 100644
--- a/LayoutTests/fast/repaint/fixed-tranformed.html
+++ b/LayoutTests/paint/invalidation/spv2/fixed-tranformed.html
@@ -1,3 +1,4 @@
+<!-- Based on fast/repaint/fixed-tranformed.html -->
<!DOCTYPE html>
<html>
@@ -21,16 +22,19 @@
background-color: green;
}
</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 (positioned) DIV id='test'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById('test').style.background='green';
}
function setupTest() {
window.scrollBy(0, 50);
- runRepaintTest();
+ runPaintInvalidationTest();
};
window.addEventListener('load', setupTest, false);
</script>

Powered by Google App Engine
This is Rietveld 408576698