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

Side by Side Diff: LayoutTests/compositing/backing/no-backing-for-perspective.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 type="text/css" media="screen"> 5 <style type="text/css" media="screen">
6 .box { 6 .box {
7 position: relative; 7 position: relative;
8 height: 100px; 8 height: 100px;
9 width: 100px; 9 width: 100px;
10 margin: 10px; 10 margin: 10px;
11 left: 0; 11 left: 0;
12 top: 0; 12 top: 0;
13 background-color: silver; 13 background-color: silver;
14 } 14 }
15 15
16 .perspective { 16 .perspective {
17 width: 300px; 17 width: 300px;
18 border: 1px solid black; 18 border: 1px solid black;
19 padding: 20px; 19 padding: 20px;
20 -webkit-perspective: 500px; 20 -webkit-perspective: 500px;
21 } 21 }
22 22
23 .composited { 23 .composited {
24 -webkit-transform: translateZ(1px); 24 transform: translateZ(1px);
25 } 25 }
26 </style> 26 </style>
27 27
28 <script> 28 <script>
29 if (window.testRunner) 29 if (window.testRunner)
30 testRunner.dumpAsText(); 30 testRunner.dumpAsText();
31 31
32 function dumpLayers() 32 function dumpLayers()
33 { 33 {
34 var layersResult = document.getElementById('layers'); 34 var layersResult = document.getElementById('layers');
(...skipping 13 matching lines...) Expand all
48 This layer should not have backing store. 48 This layer should not have backing store.
49 <div class="box composited"> 49 <div class="box composited">
50 </div> 50 </div>
51 </div> 51 </div>
52 </div> 52 </div>
53 53
54 <pre id="layers">Layer tree goes here in DRT</pre> 54 <pre id="layers">Layer tree goes here in DRT</pre>
55 55
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698