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

Side by Side Diff: LayoutTests/compositing/iframes/resources/leave-compositing-subframe-click.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 <style type="text/css" media="screen"> 5 <style type="text/css" media="screen">
6 body { background-color:silver } 6 body { background-color:silver }
7 7
8 .box { 8 .box {
9 height: 200px; 9 height: 200px;
10 width: 200px; 10 width: 200px;
11 margin: 10px; 11 margin: 10px;
12 padding: 5px; 12 padding: 5px;
13 background-color: blue; 13 background-color: blue;
14 cursor: pointer; 14 cursor: pointer;
15 } 15 }
16 16
17 .composited { 17 .composited {
18 -webkit-transform: translateZ(0); 18 transform: translateZ(0);
19 } 19 }
20 20
21 </style> 21 </style>
22 <script type="text/javascript"> 22 <script type="text/javascript">
23 function doTest() 23 function doTest()
24 { 24 {
25 window.setTimeout(function() { 25 window.setTimeout(function() {
26 document.getElementById('target').className = 'box'; 26 document.getElementById('target').className = 'box';
27 parent.testDone(); 27 parent.testDone();
28 }, 50); 28 }, 50);
29 } 29 }
30 window.addEventListener('load', doTest, false); 30 window.addEventListener('load', doTest, false);
31 </script> 31 </script>
32 </head> 32 </head>
33 <body> 33 <body>
34 <div id="target" class="composited box" onmousedown="parent.nodeClicked(this )"></div> 34 <div id="target" class="composited box" onmousedown="parent.nodeClicked(this )"></div>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698