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

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

Issue 1159453006: CL for perf tryjob on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: tools/perf/page_sets/tough_animation_cases/mix_blend_mode_animation_hue.html
diff --git a/tools/perf/page_sets/tough_animation_cases/mix_blend_mode_animation_hue.html b/tools/perf/page_sets/tough_animation_cases/mix_blend_mode_animation_hue.html
new file mode 100644
index 0000000000000000000000000000000000000000..3cc7eb6fe43cc07923088f7dcb602680e73649a1
--- /dev/null
+++ b/tools/perf/page_sets/tough_animation_cases/mix_blend_mode_animation_hue.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Benchmark - CSS Blending and CSS Animation</title>
+ <style>
+ #backdrop {
+ float: left;
+ width: 400px;
+ height: 400px;
+ isolation: isolate;
+ background-image: linear-gradient(to bottom,
+ rgba(255, 255, 0, 0.9),
+ rgba(255, 0, 0, 0.9),
+ rgba(0, 255, 0, 0.9),
+ rgba(0, 0, 255, 0.9),
+ rgba(0, 0, 0, 0.9));
+ position: absolute;
+ top: 50px;
+ left: 100px;
+ }
+ #backdrop div {
+ width: 5%;
+ height: 5%;
+ background-color: rgba(200, 100, 100, 0.7);
+ float: left;
+ will-change: transform;
+ mix-blend-mode: hue;
+ animation: rotate 3s infinite linear;
+ }
+ @keyframes rotate {
+ to {transform: rotateZ(360deg);}
+ }
+ </style>
+ <script>
+ window.onload = function() {
+ for (var i = 0; i < 400; i++) {
+ backdrop.appendChild(document.createElement("div"));
+ }
+ };
+ </script>
+</head>
+<body>
+ <div id="backdrop"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698