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

Unified Diff: LayoutTests/paint/invalidation/spv2/invalidations-on-composited-layers-expected.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/invalidations-on-composited-layers-expected.html
diff --git a/LayoutTests/compositing/repaint/invalidations-on-composited-layers.html b/LayoutTests/paint/invalidation/spv2/invalidations-on-composited-layers-expected.html
similarity index 52%
copy from LayoutTests/compositing/repaint/invalidations-on-composited-layers.html
copy to LayoutTests/paint/invalidation/spv2/invalidations-on-composited-layers-expected.html
index 4704aa066dbb7ef9646e480e4317606adb291f5d..ac9c6a0af5f1fba28433635c9c5b69838f33fb7b 100644
--- a/LayoutTests/compositing/repaint/invalidations-on-composited-layers.html
+++ b/LayoutTests/paint/invalidation/spv2/invalidations-on-composited-layers-expected.html
@@ -8,35 +8,21 @@ This test checks that repaint testing works with composited layers.
<head>
<style type="text/css">
#parent {
- transform: translateZ(0px);
width: 400px;
height: 400px;
- background: blue;
+ background: green;
}
#child {
- transform: translateZ(0px);
position: relative;
left: 50px;
top: 50px;
width: 75px;
height: 75px;
- background: green;
+ background: blue;
}
</style>
- <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
- <script>
- function repaintTest() {
- var parent = document.getElementById('parent');
- var child = document.getElementById('child');
-
- child.style.background = 'blue';
- parent.style.background = 'green';
- }
-
- runRepaintTest();
- </script>
</head>
<body>
<div id="parent">

Powered by Google App Engine
This is Rietveld 408576698