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

Unified Diff: LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-z-index.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/should-not-repaint-composited-z-index.html
diff --git a/LayoutTests/compositing/repaint/should-not-repaint-composited-z-index.html b/LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-z-index.html
similarity index 51%
copy from LayoutTests/compositing/repaint/should-not-repaint-composited-z-index.html
copy to LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-z-index.html
index cab74f81d5a02c3bd69612da1322b128446960e3..3e369dd007c22444cf174a25d854879bcf64b4ed 100644
--- a/LayoutTests/compositing/repaint/should-not-repaint-composited-z-index.html
+++ b/LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-z-index.html
@@ -1,3 +1,4 @@
+<!-- Based on compositing/repaint/should-not-repaint-composited-z-index.html -->
<!DOCTYPE html>
<style>
#composited-box {
@@ -8,11 +9,13 @@
z-index: 1;
}
</style>
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script src="resources/paint-invalidation-test.js"></script>
<script>
-function repaintTest() {
+window.expectedPaintInvalidationObjects = [
+];
+function paintInvalidationTest() {
document.getElementById('composited-box').style.zIndex = 2;
}
-window.onload = runRepaintTest;
+window.onload = runPaintInvalidationTest;
</script>
<div id="composited-box"></div>

Powered by Google App Engine
This is Rietveld 408576698