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

Side by Side Diff: LayoutTests/compositing/layer-creation/fixed-position-under-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 overflow-x: hidden; 7 overflow-x: hidden;
8 } 8 }
9 9
10 #transform { 10 #transform {
11 z-index: 0; 11 z-index: 0;
12 /* transform establishes a fixed pos container, so translate to make up for scroll offset so indicator is still underneath overlap */ 12 /* transform establishes a fixed pos container, so translate to make up for scroll offset so indicator is still underneath overlap */
13 -webkit-transform:translate3d(0px, 1000px, 0px); 13 transform:translate3d(0px, 1000px, 0px);
14 } 14 }
15 15
16 #indicator { 16 #indicator {
17 width: 256px; 17 width: 256px;
18 height: 256px; 18 height: 256px;
19 background-color: red; 19 background-color: red;
20 position: fixed; 20 position: fixed;
21 left: 100px; 21 left: 100px;
22 top: 100px; 22 top: 100px;
23 } 23 }
(...skipping 21 matching lines...) Expand all
45 <body> 45 <body>
46 <!-- the red indicator should be covered by the green overlap element --> 46 <!-- the red indicator should be covered by the green overlap element -->
47 <div id="transform"> 47 <div id="transform">
48 <div id="indicator"></div> 48 <div id="indicator"></div>
49 </div> 49 </div>
50 <div id="overlap"></div> 50 <div id="overlap"></div>
51 51
52 <pre id="layertree"></pre> 52 <pre id="layertree"></pre>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698