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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/compositing/squashing/tricky-element-removal-crash.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <div id="target" style="width: 100px; height: 100px; background: lightblue"></di v> 2 <div id="target" style="width: 100px; height: 100px; background: lightblue"></di v>
3 <script src="../../resources/run-after-display.js"></script> 3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 <script> 4 <script>
5 if (testRunner) { 5 function repaintTest() {
6 testRunner.dumpAsText(); 6 document.getElementById('target').style.opacity = 0.5;
7 testRunner.waitUntilDone();
8 } 7 }
9 8 runRepaintTest();
10 runAfterDisplay(function() { 9 </script>
11 if (internals)
12 window.internals.startTrackingRepaints(document);
13
14 document.getElementById('target').style.opacity = 0.5;
15
16 if (testRunner)
17 testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document , internals.LAYER_TREE_INCLUDES_REPAINT_RECTS));
18
19 testRunner.notifyDone();
20 });
21 </script>
OLDNEW
« 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