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

Side by Side Diff: LayoutTests/compositing/geometry/foreground-offset-change.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 <script src="../../resources/run-after-display.js"></script> 3 <script src="../../resources/run-after-display.js"></script>
4 <style> 4 <style>
5 #clipper { 5 #clipper {
6 width: 550px; 6 width: 550px;
7 height: 550px; 7 height: 550px;
8 overflow:hidden; 8 overflow:hidden;
9 } 9 }
10 10
11 #trigger { 11 #trigger {
12 /* Only overlap with the contents element, not the stretch element */ 12 /* Only overlap with the contents element, not the stretch element */
13 -webkit-transform:translateZ(0); 13 transform:translateZ(0);
14 position: absolute; 14 position: absolute;
15 top: 0px; 15 top: 0px;
16 left: 0px; 16 left: 0px;
17 width: 500px; 17 width: 500px;
18 height: 200px; 18 height: 200px;
19 } 19 }
20 20
21 #container { 21 #container {
22 /* Force compositing for this layer if any children get composited */ 22 /* Force compositing for this layer if any children get composited */
23 -webkit-transform:translate(0px, 1px); 23 transform:translate(0px, 1px);
24 } 24 }
25 25
26 #negative { 26 #negative {
27 /* Trigger foreground layer from container */ 27 /* Trigger foreground layer from container */
28 z-index: -1; 28 z-index: -1;
29 position: absolute; 29 position: absolute;
30 } 30 }
31 31
32 #contents { 32 #contents {
33 /* foreground layer contents */ 33 /* foreground layer contents */
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 <body> 68 <body>
69 <div id="trigger"></div> 69 <div id="trigger"></div>
70 <div id="clipper"> 70 <div id="clipper">
71 <div id="container"> 71 <div id="container">
72 <img id="contents"> 72 <img id="contents">
73 <div id="stretch"></div> 73 <div id="stretch"></div>
74 <div id="negative"></div> 74 <div id="negative"></div>
75 </div> 75 </div>
76 </div> 76 </div>
77 </body> 77 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698