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

Side by Side Diff: LayoutTests/compositing/transitions/transitions-have-composited-layers.html

Issue 206593005: Remove compositing trigger for CSS transitions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove test Created 6 years, 9 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/transitions/transitions-have-composited-layers-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 <html>
2 <head>
3 <style>
4 #notransition {
5 position: absolute;
6 top: 0px;
7 left: 0px;
8 width: 50px;
9 height: 50px;
10 background-color: red;
11 }
12
13 #opacitytransition {
14 position: absolute;
15 top: 0px;
16 left: 60px;
17 height: 50px;
18 width: 50px;
19 background-color: green;
20 transition: opacity 1s;
21 }
22
23 #transformtransition {
24 position: absolute;
25 left: 120px;
26 top: 0px;
27 width: 50px;
28 height: 50px;
29 background-color: green;
30 transition: -webkit-transform 1s;
31 }
32
33 #filtertransition {
34 position: absolute;
35 left: 180px;
36 top: 0px;
37 width: 50px;
38 height: 50px;
39 background-color: green;
40 transition: -webkit-filter 1s;
41 }
42
43 #layertree {
44 position: absolute;
45 left: 10000px;
46 top: 0px;
47 }
48 </style>
49
50 <script>
51 if (window.internals)
52 window.internals.settings.setAcceleratedCompositingForTransitionEnabled( true);
53
54 if (window.testRunner) {
55 testRunner.dumpAsText();
56 testRunner.waitUntilDone();
57 }
58
59 window.addEventListener('load', function() {
60 if (window.testRunner) {
61 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document);
62 testRunner.notifyDone();
63 }
64 }, false);
65 </script>
66
67 <body>
68 <!-- The red square shouldn't composite. -->
69 <div id="notransition"></div>
70
71 <!-- This green square should composite because it has a transition on opaci ty. -->
72 <div id="opacitytransition"></div>
73
74 <!-- This green square should composite because it has a transition on trans form. -->
75 <div id="transformtransition"></div>
76
77 <!-- This green square should composite because it has a transition on filte r. -->
78 <div id="filtertransition"></div>
79
80 <pre id="layertree"></pre>
81 </body>
82 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/transitions/transitions-have-composited-layers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698