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

Side by Side Diff: LayoutTests/compositing/flat-with-transformed-child.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 <html> 1 <html>
2 <head> 2 <head>
3 <style type="text/css"> 3 <style type="text/css">
4 #container { 4 #container {
5 margin: 80px 0px; 5 margin: 80px 0px;
6 height: 300px; 6 height: 300px;
7 width: 300px; 7 width: 300px;
8 -webkit-perspective: 500; 8 -webkit-perspective: 500;
9 } 9 }
10 10
11 #parent { 11 #parent {
12 width: 280px; 12 width: 280px;
13 height: 280px; 13 height: 280px;
14 background-color: green; 14 background-color: green;
15 opacity: 0.9999; 15 opacity: 0.9999;
16 -webkit-transform-style: flat; 16 -webkit-transform-style: flat;
17 -webkit-transform: rotateY(80deg); 17 transform: rotateY(80deg);
18 } 18 }
19 19
20 #child { 20 #child {
21 background-color: green; 21 background-color: green;
22 -webkit-transform: translateZ(0); 22 transform: translateZ(0);
23 } 23 }
24 24
25 #bad { 25 #bad {
26 position: absolute; 26 position: absolute;
27 top: 120px; 27 top: 120px;
28 left: 115px; 28 left: 115px;
29 width: 20px; 29 width: 20px;
30 height: 200px; 30 height: 200px;
31 background-color: red; 31 background-color: red;
32 } 32 }
33 </style> 33 </style>
34 <script> 34 <script>
35 if (window.testRunner) 35 if (window.testRunner)
36 testRunner.dumpAsTextWithPixelResults(); 36 testRunner.dumpAsTextWithPixelResults();
37 </script> 37 </script>
38 </head> 38 </head>
39 <body> 39 <body>
40 <!-- This div should be covered up --> 40 <!-- This div should be covered up -->
41 <div id="bad"></div> 41 <div id="bad"></div>
42 42
43 <div id="container"> 43 <div id="container">
44 <div id="parent"> 44 <div id="parent">
45 <div id="child"></div> 45 <div id="child"></div>
46 </div> 46 </div>
47 </div> 47 </div>
48 </body> 48 </body>
49 </html> 49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698