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

Side by Side Diff: tools/perf/page_sets/tough_animation_cases/balls_css_keyframe_animations.html

Issue 927583005: Clean up perftesthelper.js style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@+newCSSValueTypePerfTests
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_animation_cases/balls_css_keyframe_animations_composited_transform.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright (c) 2012 Cameron Adams. All rights reserved. 2 Copyright (c) 2012 Cameron Adams. All rights reserved.
3 Copyright (c) 2012 Code Aurora Forum. All rights reserved. 3 Copyright (c) 2012 Code Aurora Forum. All rights reserved.
4 Copyright (C) 2013 Google Inc. All rights reserved. 4 Copyright (C) 2013 Google Inc. All rights reserved.
5 5
6 Redistribution and use in source and binary forms, with or without 6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are 7 modification, are permitted provided that the following conditions are
8 met: 8 met:
9 * Redistributions of source code must retain the above copyright 9 * Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer. 10 notice, this list of conditions and the following disclaimer.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 padding: 0; 48 padding: 0;
49 } 49 }
50 50
51 span { 51 span {
52 position: absolute; 52 position: absolute;
53 width: 12px; 53 width: 12px;
54 height: 12px; 54 height: 12px;
55 border-radius: 6px; 55 border-radius: 6px;
56 } 56 }
57 </style> 57 </style>
58 <script src="resources/perftesthelper.js"></script> 58 <script src="resources/perf_test_helper.js"></script>
59 <script> 59 <script>
60 var measurementReady = false; 60 var measurementReady = false;
61 var stageWidth = 600; 61 var stageWidth = 600;
62 var stageHeight = 600; 62 var stageHeight = 600;
63 var maxParticles = 2500; 63 var maxParticles = 2500;
64 var minVelocity = 50; 64 var minVelocity = 50;
65 var maxVelocity = 500; 65 var maxVelocity = 500;
66 var particleRadius = 6; 66 var particleRadius = 6;
67 var colors = ["#cc0000", "#ffcc00", "#aaff00", "#0099cc", "#194c99", "#661999"]; 67 var colors = ["#cc0000", "#ffcc00", "#aaff00", "#0099cc", "#194c99", "#661999"];
68 var animationDuration = 10; 68 var animationDuration = 10;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 document.body.removeChild(domNode); 172 document.body.removeChild(domNode);
173 } 173 }
174 174
175 this.start = start; 175 this.start = start;
176 this.destroy = destroy; 176 this.destroy = destroy;
177 } 177 }
178 </script> 178 </script>
179 <style id="keyframes"></style> 179 <style id="keyframes"></style>
180 </head> 180 </head>
181 </html> 181 </html>
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_animation_cases/balls_css_keyframe_animations_composited_transform.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698