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

Unified Diff: LayoutTests/paint/invalidation/spv2/invalidation-for-subpixel-offset-of-squashed-layer-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/invalidation-for-subpixel-offset-of-squashed-layer-expected.html
diff --git a/LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html b/LayoutTests/paint/invalidation/spv2/invalidation-for-subpixel-offset-of-squashed-layer-expected.html
similarity index 55%
copy from LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html
copy to LayoutTests/paint/invalidation/spv2/invalidation-for-subpixel-offset-of-squashed-layer-expected.html
index 56c4911b19b6c8f4a3cd8a4a497eb6fc7177a914..b87563cd81c0b5826f7bf45b4b5f6f721a0fc689 100644
--- a/LayoutTests/compositing/squashing/invalidation-for-subpixel-offset-of-squashed-layer.html
+++ b/LayoutTests/paint/invalidation/spv2/invalidation-for-subpixel-offset-of-squashed-layer-expected.html
@@ -3,12 +3,4 @@
<div style="position: absolute; width: 200px; height: 200px; background: lightgray; will-change: transform"></div>
<div style="position: absolute; width: 200px; height: 200px; top: 50px; left: 50px; background: lightblue"></div>
-<div id="target" style="position: absolute; width: 200px; height: 200px; top: 100.45px; left: 100.45px; background: papayawhip"></div>
-
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- target.style.backgroundColor = 'red';
-}
-runRepaintTest();
-</script>
+<div id="target" style="position: absolute; width: 200px; height: 200px; top: 100.45px; left: 100.45px; background: red"></div>

Powered by Google App Engine
This is Rietveld 408576698