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

Side by Side Diff: LayoutTests/compositing/reflections/nested-reflection-on-overflow.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 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <style> 5 <style>
6 .outer { 6 .outer {
7 width: 120px; 7 width: 120px;
8 height: 230px; 8 height: 230px;
9 margin: 20px; 9 margin: 20px;
10 border: 1px solid black; 10 border: 1px solid black;
11 -webkit-box-reflect: right 10px; 11 -webkit-box-reflect: right 10px;
12 } 12 }
13 13
14 .inner { 14 .inner {
15 margin: 10px; 15 margin: 10px;
16 width: 100px; 16 width: 100px;
17 height: 100px; 17 height: 100px;
18 background-color: green; 18 background-color: green;
19 -webkit-box-reflect: below 10px; 19 -webkit-box-reflect: below 10px;
20 } 20 }
21 21
22 .composited { 22 .composited {
23 -webkit-transform: translateZ(0); 23 transform: translateZ(0);
24 } 24 }
25 25
26 .overflow { 26 .overflow {
27 position: relative; 27 position: relative;
28 overflow: scroll; 28 overflow: scroll;
29 width: 100%; 29 width: 100%;
30 height: 100%; 30 height: 100%;
31 z-index: 0; 31 z-index: 0;
32 } 32 }
33 .content { 33 .content {
34 height: 500px; 34 height: 500px;
35 } 35 }
36 </style> 36 </style>
37 </head> 37 </head>
38 <body> 38 <body>
39 <p>You should see the original and three copies of the green box with text.</p> 39 <p>You should see the original and three copies of the green box with text.</p>
40 <div class="outer composited"> 40 <div class="outer composited">
41 <div class="inner composited"> 41 <div class="inner composited">
42 <div class="overflow"> 42 <div class="overflow">
43 <div class="content composited">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna ali qua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div> 43 <div class="content composited">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna ali qua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
44 </div> 44 </div>
45 </div> 45 </div>
46 </div> 46 </div>
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698