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

Side by Side Diff: LayoutTests/compositing/repaint/invalidations-on-composited-layers.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 <!-- 3 <!--
4 This test checks that repaint testing works with composited layers. 4 This test checks that repaint testing works with composited layers.
5 --> 5 -->
6 6
7 <html> 7 <html>
8 <head> 8 <head>
9 <style type="text/css"> 9 <style type="text/css">
10 #parent { 10 #parent {
11 -webkit-transform: translateZ(0px); 11 transform: translateZ(0px);
12 width: 400px; 12 width: 400px;
13 height: 400px; 13 height: 400px;
14 background: blue; 14 background: blue;
15 } 15 }
16 16
17 #child { 17 #child {
18 -webkit-transform: translateZ(0px); 18 transform: translateZ(0px);
19 position: relative; 19 position: relative;
20 left: 50px; 20 left: 50px;
21 top: 50px; 21 top: 50px;
22 width: 75px; 22 width: 75px;
23 height: 75px; 23 height: 75px;
24 background: green; 24 background: green;
25 } 25 }
26 26
27 </style> 27 </style>
28 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 28 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
29 <script> 29 <script>
30 function repaintTest() { 30 function repaintTest() {
31 var parent = document.getElementById('parent'); 31 var parent = document.getElementById('parent');
32 var child = document.getElementById('child'); 32 var child = document.getElementById('child');
33 33
34 child.style.background = 'blue'; 34 child.style.background = 'blue';
35 parent.style.background = 'green'; 35 parent.style.background = 'green';
36 } 36 }
37 37
38 runRepaintTest(); 38 runRepaintTest();
39 </script> 39 </script>
40 </head> 40 </head>
41 <body> 41 <body>
42 <div id="parent"> 42 <div id="parent">
43 <div id="child"></div> 43 <div id="child"></div>
44 </div> 44 </div>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/repaint/inline-repaint-container.html ('k') | LayoutTests/compositing/repaint/layer-repaint.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698