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

Side by Side Diff: LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 .fixed { 6 .fixed {
7 position: fixed; 7 position: fixed;
8 z-index: 1; 8 z-index: 1;
9 } 9 }
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 .red { 27 .red {
28 background-color: red; 28 background-color: red;
29 } 29 }
30 30
31 .lime { 31 .lime {
32 background-color: lime; 32 background-color: lime;
33 } 33 }
34 34
35 .composited { 35 .composited {
36 -webkit-transform: translatez(0); 36 transform: translatez(0);
37 } 37 }
38 </style> 38 </style>
39 39
40 <script type="text/javascript"> 40 <script type="text/javascript">
41 if (window.internals) { 41 if (window.internals) {
42 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); 42 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
43 } 43 }
44 44
45 if (window.testRunner) { 45 if (window.testRunner) {
46 testRunner.dumpAsText(); 46 testRunner.dumpAsText();
(...skipping 10 matching lines...) Expand all
57 <pre id="layertree"></pre> 57 <pre id="layertree"></pre>
58 </div> 58 </div>
59 59
60 <!-- This should not be promoted to a composited layer, because the body is 60 <!-- This should not be promoted to a composited layer, because the body is
61 unscrollable and there is no need to composite the fixed-position layer. 61 unscrollable and there is no need to composite the fixed-position layer.
62 --> 62 -->
63 <div class="fixed lime box"></div> 63 <div class="fixed lime box"></div>
64 </body> 64 </body>
65 </html> 65 </html>
66 66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698