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

Side by Side Diff: LayoutTests/compositing/reflections/nested-reflection-transformed2.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 outline: 10px solid transparent; /* affects layer sizes */ 12 outline: 10px solid transparent; /* affects layer sizes */
13 } 13 }
14 14
15 .inner { 15 .inner {
16 margin: 10px; 16 margin: 10px;
17 width: 100px; 17 width: 100px;
18 height: 100px; 18 height: 100px;
19 background-color: green; 19 background-color: green;
20 text-align: center; 20 text-align: center;
21 font-size: 50pt; 21 font-size: 50pt;
22 -webkit-box-reflect: below 10px; 22 -webkit-box-reflect: below 10px;
23 } 23 }
24 24
25 .composited { 25 .composited {
26 -webkit-transform: translateZ(0); 26 transform: translateZ(0);
27 } 27 }
28 </style> 28 </style>
29 <script type="text/javascript" charset="utf-8"> 29 <script type="text/javascript" charset="utf-8">
30 function doTest() 30 function doTest()
31 { 31 {
32 document.getElementById('inner').style.webkitTransform = 'rotate(10deg)'; 32 document.getElementById('inner').style.webkitTransform = 'rotate(10deg)';
33 } 33 }
34 window.addEventListener('load', doTest, false); 34 window.addEventListener('load', doTest, false);
35 </script> 35 </script>
36 </head> 36 </head>
37 <body> 37 <body>
38 <p>Test transform change on reflected elements, with compositing layers larger than render layers. Left and right side should be symmetrical.</p> 38 <p>Test transform change on reflected elements, with compositing layers larger than render layers. Left and right side should be symmetrical.</p>
39 <div class="outer composited"> 39 <div class="outer composited">
40 <div id="inner" class="inner composited"> 40 <div id="inner" class="inner composited">
41 1 41 1
42 </div> 42 </div>
43 </div> 43 </div>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698