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

Side by Side Diff: LayoutTests/compositing/webgl/webgl-with-accelerated-background-color.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> 1 <!DOCTYPE>
2 <html> 2 <html>
3 <head> 3 <head>
4 <!-- Check for compositing WebGL layer and accelerated background-color layer. - -> 4 <!-- Check for compositing WebGL layer and accelerated background-color layer. - ->
5 <!-- On load, there is not WebGL layer. WebGL layer is created on the fly. --> 5 <!-- On load, there is not WebGL layer. WebGL layer is created on the fly. -->
6 <style> 6 <style>
7 #background { 7 #background {
8 width: 200px; 8 width: 200px;
9 height: 200px; 9 height: 200px;
10 display: block; 10 display: block;
11 } 11 }
12 #canvas { 12 #canvas {
13 width: 200px; 13 width: 200px;
14 height: 200px; 14 height: 200px;
15 display: block; 15 display: block;
16 } 16 }
17 .blue { 17 .blue {
18 width: 50px; 18 width: 50px;
19 height: 50px; 19 height: 50px;
20 background-color: rgba(0, 0, 255, 0.5); 20 background-color: rgba(0, 0, 255, 0.5);
21 display: block; 21 display: block;
22 top: -50px; 22 top: -50px;
23 position: relative; 23 position: relative;
24 } 24 }
25 .composited { 25 .composited {
26 -webkit-transform: translateZ(0); 26 transform: translateZ(0);
27 } 27 }
28 </style> 28 </style>
29 <script type="text/javascript" charset="utf-8"> 29 <script type="text/javascript" charset="utf-8">
30 if (window.testRunner) { 30 if (window.testRunner) {
31 testRunner.waitUntilDone(); 31 testRunner.waitUntilDone();
32 testRunner.dumpAsTextWithPixelResults(); 32 testRunner.dumpAsTextWithPixelResults();
33 } 33 }
34 34
35 function doTest() 35 function doTest()
36 { 36 {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 window.addEventListener('load', doTest, false); 75 window.addEventListener('load', doTest, false);
76 </script> 76 </script>
77 </head> 77 </head>
78 <body> 78 <body>
79 <div id="background"> 79 <div id="background">
80 <canvas id="canvas"></canvas> 80 <canvas id="canvas"></canvas>
81 <div class="blue composited"></div> 81 <div class="blue composited"></div>
82 </div> 82 </div>
83 </body> 83 </body>
84 </html> 84 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698