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

Unified Diff: LayoutTests/fast/repaint/paint-invalidation-with-opacity.html

Issue 403843002: Convert some layout tests to text-based-repaint tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase tests (due to removal of <pre>) Created 6 years, 5 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
« no previous file with comments | « LayoutTests/compositing/squashing/tricky-element-removal-crash.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
diff --git a/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html b/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
index 95a5c123d2b418d19f538bc7d478ad5f050a8e7b..c26f06f1015460647c7cbcef8ee9ec4f773f4e35 100644
--- a/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
+++ b/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
@@ -1,21 +1,9 @@
<!DOCTYPE html>
<div id="target" style="width: 100px; height: 100px; background: lightblue"></div>
-<script src="../../resources/run-after-display.js"></script>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
<script>
-if (testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-runAfterDisplay(function() {
- if (internals)
- window.internals.startTrackingRepaints(document);
-
+function repaintTest() {
document.getElementById('target').style.opacity = 0.5;
-
- if (testRunner)
- testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS));
-
- testRunner.notifyDone();
-});
-</script>
+}
+runRepaintTest();
+</script>
« no previous file with comments | « LayoutTests/compositing/squashing/tricky-element-removal-crash.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698