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

Side by Side Diff: LayoutTests/compositing/layer-creation/stacking-context-overlap-nested.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 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 .box { 6 .box {
7 position: absolute; 7 position: absolute;
8 top: 20px; 8 top: 20px;
9 left: 20px; 9 left: 20px;
10 height: 100px; 10 height: 100px;
11 width: 100px; 11 width: 100px;
12 background-color: red; 12 background-color: red;
13 } 13 }
14 14
15 .composited { 15 .composited {
16 -webkit-transform: translateZ(0); 16 transform: translateZ(0);
17 background-color: green; 17 background-color: green;
18 outline: 10px solid transparent; /* inflate compositing layer bounds */ 18 outline: 10px solid transparent; /* inflate compositing layer bounds */
19 } 19 }
20 20
21 .box > .box { 21 .box > .box {
22 top: 50px; 22 top: 50px;
23 left: 50px; 23 left: 50px;
24 width: 200px; 24 width: 200px;
25 background-color: rgba(255, 0, 0, 0.6); 25 background-color: rgba(255, 0, 0, 0.6);
26 } 26 }
(...skipping 27 matching lines...) Expand all
54 <body> 54 <body>
55 <div class="composited box"> 55 <div class="composited box">
56 <div class="composited box"></div> 56 <div class="composited box"></div>
57 </div> 57 </div>
58 58
59 <div id="indicator"></div> 59 <div id="indicator"></div>
60 60
61 <pre id="layertree"></pre> 61 <pre id="layertree"></pre>
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698