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

Side by Side Diff: LayoutTests/compositing/layer-creation/fixed-position-and-transform.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 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 body { 5 body {
6 height: 5000px; 6 height: 5000px;
7 } 7 }
8 8
9 #indicator { 9 #indicator {
10 width: 256px; 10 width: 256px;
11 height: 256px; 11 height: 256px;
12 background-color: red; 12 background-color: red;
13 position: fixed; 13 position: fixed;
14 left: 100px; 14 left: 100px;
15 top: 100px; 15 top: 100px;
16 -webkit-transform:translateZ(0); 16 transform:translateZ(0);
17 } 17 }
18 18
19 #overlap { 19 #overlap {
20 width: 500px; 20 width: 500px;
21 height: 500px; 21 height: 500px;
22 background-color: green; 22 background-color: green;
23 position: fixed; 23 position: fixed;
24 left: 0px; 24 left: 0px;
25 top: 0px; 25 top: 0px;
26 } 26 }
(...skipping 10 matching lines...) Expand all
37 </script> 37 </script>
38 </head> 38 </head>
39 <body> 39 <body>
40 <!-- the red indicator should be covered by the green overlap element --> 40 <!-- the red indicator should be covered by the green overlap element -->
41 <div id="indicator"></div> 41 <div id="indicator"></div>
42 <div id="overlap"></div> 42 <div id="overlap"></div>
43 43
44 <pre id="layertree"></pre> 44 <pre id="layertree"></pre>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698