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

Side by Side Diff: LayoutTests/compositing/shadows/shadow-drawing.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 <title>Shadow test</title> 5 <title>Shadow test</title>
6 <style type="text/css" media="screen"> 6 <style type="text/css" media="screen">
7 .box { 7 .box {
8 display: inline-block; 8 display: inline-block;
9 height: 150px; 9 height: 150px;
10 width: 200px; 10 width: 200px;
11 margin: 50px; 11 margin: 50px;
12 border: 1px solid black; 12 border: 1px solid black;
13 -webkit-box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.5); 13 -webkit-box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.5);
14 } 14 }
15 15
16 .compositing { 16 .compositing {
17 -webkit-transform: translateZ(0); 17 transform: translateZ(0);
18 } 18 }
19 19
20 .shadowed { 20 .shadowed {
21 font-size: 28pt; 21 font-size: 28pt;
22 color: blue; 22 color: blue;
23 text-align: center; 23 text-align: center;
24 text-shadow: 0 10px 3px rgba(0, 0, 0, 0.5); 24 text-shadow: 0 10px 3px rgba(0, 0, 0, 0.5);
25 -webkit-transform: rotate(10deg); 25 transform: rotate(10deg);
26 } 26 }
27 </style> 27 </style>
28 </head> 28 </head>
29 <body> 29 <body>
30 30
31 <p>Left and right sides should look the same.</p> 31 <p>Left and right sides should look the same.</p>
32 32
33 <div class="box"> 33 <div class="box">
34 <p class="shadowed">Shadowed text</p> 34 <p class="shadowed">Shadowed text</p>
35 </div> 35 </div>
36 36
37 <div class="compositing box"> 37 <div class="compositing box">
38 <p class="shadowed">Shadowed text</p> 38 <p class="shadowed">Shadowed text</p>
39 </div> 39 </div>
40 40
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698