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

Side by Side Diff: LayoutTests/compositing/squashing/squashing-into-ancestor-painted-layer-expected.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 <style> 2 <style>
3 body { 3 body {
4 -webkit-transform: translateZ(0); 4 transform: translateZ(0);
5 } 5 }
6 #overlapper { 6 #overlapper {
7 width: 400px; 7 width: 400px;
8 height: 400px; 8 height: 400px;
9 left: 200px; 9 left: 200px;
10 background: gray; 10 background: gray;
11 position: absolute; 11 position: absolute;
12 -webkit-transform: translateZ(0); 12 transform: translateZ(0);
13 } 13 }
14 14
15 #container { 15 #container {
16 -webkit-perspective: 1400px; 16 -webkit-perspective: 1400px;
17 position: absolute; 17 position: absolute;
18 width: 180px; 18 width: 180px;
19 height: 180px; 19 height: 180px;
20 background: papayawhip; 20 background: papayawhip;
21 } 21 }
22 22
23 #composited { 23 #composited {
24 width: 100px; 24 width: 100px;
25 height: 100px; 25 height: 100px;
26 left: 200px; 26 left: 200px;
27 background: green; 27 background: green;
28 position: absolute; 28 position: absolute;
29 -webkit-transform: translateZ(10px); 29 transform: translateZ(10px);
30 visibility: hidden; 30 visibility: hidden;
31 } 31 }
32 32
33 #squashed { 33 #squashed {
34 position: absolute; 34 position: absolute;
35 width: 50px; 35 width: 50px;
36 height: 50px; 36 height: 50px;
37 background: blue; 37 background: blue;
38 } 38 }
39 </style> 39 </style>
40 <div id="overlapper"></div> 40 <div id="overlapper"></div>
41 <div id="container"> 41 <div id="container">
42 <div id="composited"></div> 42 <div id="composited"></div>
43 </div> 43 </div>
44 <div id="squashed"></div> 44 <div id="squashed"></div>
45 THIS TEST PASSES IF IT DOES NOT CRASH 45 THIS TEST PASSES IF IT DOES NOT CRASH
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698