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

Side by Side Diff: LayoutTests/compositing/overflow/repaint-after-losing-scrollbars.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 <!-- there should be four green squares and no visible red --> 2 <!-- there should be four green squares and no visible red -->
3 <script src="../../resources/run-after-display.js"></script> 3 <script src="../../resources/run-after-display.js"></script>
4 <style> 4 <style>
5 .container { 5 .container {
6 width: 100px; 6 width: 100px;
7 height:100px; 7 height:100px;
8 background-color: green; 8 background-color: green;
9 position:absolute; 9 position:absolute;
10 -webkit-transform:translateZ(0); 10 transform:translateZ(0);
11 overflow:auto; 11 overflow:auto;
12 } 12 }
13 13
14 ::-webkit-scrollbar { 14 ::-webkit-scrollbar {
15 background-color: red; 15 background-color: red;
16 } 16 }
17 17
18 ::-webkit-resizer { 18 ::-webkit-resizer {
19 background-color: red; 19 background-color: red;
20 } 20 }
21 21
22 .content { 22 .content {
23 -webkit-transform: translateZ(0); 23 transform: translateZ(0);
24 position:absolute; 24 position:absolute;
25 width:10px; 25 width:10px;
26 height:10px; 26 height:10px;
27 } 27 }
28 28
29 .tall { 29 .tall {
30 height:200px; 30 height:200px;
31 } 31 }
32 32
33 .wide { 33 .wide {
(...skipping 28 matching lines...) Expand all
62 testRunner.notifyDone(); 62 testRunner.notifyDone();
63 } 63 }
64 64
65 if (window.testRunner) { 65 if (window.testRunner) {
66 testRunner.dumpAsTextWithPixelResults(); 66 testRunner.dumpAsTextWithPixelResults();
67 testRunner.waitUntilDone(); 67 testRunner.waitUntilDone();
68 } 68 }
69 69
70 runAfterDisplay(finishTest); 70 runAfterDisplay(finishTest);
71 </script> 71 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698