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

Side by Side Diff: LayoutTests/compositing/layer-creation/compositing-reason-removed.html

Issue 336493004: Removing a RenderLayer's CLM should trigger a repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment Created 6 years, 6 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 | « no previous file | LayoutTests/compositing/layer-creation/compositing-reason-removed-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #square {
4 background-color: blue;
5 width: 30px;
6 height: 30px;
7 position: relative;
8 -webkit-backface-visibility: hidden;
9 }
10
11 #testResults {
12 display: none;
13 }
14 </style>
15
16 <script>
17 if (window.testRunner) {
18 testRunner.dumpAsText();
19 }
20
21 onload = function() {
22 if (!window.internals)
23 return;
24
25 window.internals.startTrackingRepaints(document);
26
27 // Remove the div's only compositing reason. This should trigger a repaint.
28 document.getElementById("square").style.webkitBackfaceVisibility = "visible" ;
29 document.getElementById("layertree").textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
30 window.internals.stopTrackingRepaints(document);
31
32 document.getElementById("testResults").style.display = "block";
33 }
34 </script>
35
36 <div id="square"></div>
37
38 <div id="testResults">
39 <pre id="layertree"></pre>
40 </div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/layer-creation/compositing-reason-removed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698