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

Side by Side Diff: third_party/WebKit/LayoutTests/transforms/transform-update-affects-scroll.html

Issue 2547723002: Merge LayoutTests fast/transforms in transforms (Closed)
Patch Set: Fix a bad path reference. Created 4 years 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 <style> 2 <style>
3 body { 3 body {
4 direction: rtl; 4 direction: rtl;
5 overflow: hidden; 5 overflow: hidden;
6 } 6 }
7 #transformed { 7 #transformed {
8 position: absolute; 8 position: absolute;
9 left: 0; 9 left: 0;
10 top: 0; 10 top: 0;
11 transform: translate(-50px, 0px); 11 transform: translate(-50px, 0px);
12 height: 200px; 12 height: 200px;
13 width: 200px; 13 width: 200px;
14 background-color: lightgreen; 14 background-color: lightgreen;
15 } 15 }
16 </style> 16 </style>
17 <div id="transformed">This box should be exactly in the top-left corner</div> 17 <div id="transformed">This box should be exactly in the top-left corner</div>
18 <script> 18 <script>
19 if (window.testRunner) 19 if (window.testRunner)
20 testRunner.waitUntilDone(); 20 testRunner.waitUntilDone();
21 21
22 requestAnimationFrame(function() { 22 requestAnimationFrame(function() {
23 var transformed = document.getElementById('transformed'); 23 var transformed = document.getElementById('transformed');
24 transformed.style.transform = 'none'; 24 transformed.style.transform = 'none';
25 if (window.testRunner) 25 if (window.testRunner)
26 testRunner.notifyDone(); 26 testRunner.notifyDone();
27 }); 27 });
28 </script> 28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698