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

Unified Diff: tools/perf/page_sets/tough_animation_cases/compositor_heavy_animation.html

Issue 2530253002: CSS Animations: Reduce usage of webkit prefix in perf tests (Closed)
Patch Set: keyframes Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_animation_cases/css_animations_many_keyframes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_animation_cases/compositor_heavy_animation.html
diff --git a/tools/perf/page_sets/tough_animation_cases/compositor_heavy_animation.html b/tools/perf/page_sets/tough_animation_cases/compositor_heavy_animation.html
index d6281ca1a520d9aa117b9296f76c5f6529e8959b..fbd73529f3a57e64394755206b1443a943dde7e0 100644
--- a/tools/perf/page_sets/tough_animation_cases/compositor_heavy_animation.html
+++ b/tools/perf/page_sets/tough_animation_cases/compositor_heavy_animation.html
@@ -23,7 +23,7 @@
width: 100%;
height: 100%;
border-radius: 2px;
- -webkit-transform-style: preserve-3d;
+ transform-style: preserve-3d;
}
</style>
<script src="resources/perf_test_helper.js"></script>
@@ -50,7 +50,7 @@
for (var i = 0; i < N; i++) {
var elem = document.createElement("div");
elem.style.backgroundColor = randomColorGenerator();
- elem.style.webkitTransform = "rotateZ(" + ((i + 1) * 10.1).toString() + "deg)";
+ elem.style.transform = "rotateZ(" + ((i + 1) * 10.1).toString() + "deg)";
backdrop.appendChild(elem);
elem.animate(keyframes, {duration: duration, iterations: Infinity,
direction: 'alternate', delay: -2 * duration * Math.random()});
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_animation_cases/css_animations_many_keyframes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698