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

Unified Diff: tools/perf/page_sets/tough_animation_cases/mix_blend_mode_propagating_isolation.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_propagating_isolation.html
diff --git a/tools/perf/page_sets/tough_animation_cases/mix_blend_mode_propagating_isolation.html b/tools/perf/page_sets/tough_animation_cases/mix_blend_mode_propagating_isolation.html
new file mode 100644
index 0000000000000000000000000000000000000000..4dd23fc98fe42c3e1d1a2d9dc8893d1ef74d271e
--- /dev/null
+++ b/tools/perf/page_sets/tough_animation_cases/mix_blend_mode_propagating_isolation.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Painting deep tree with CSS Blending</title>
+ <!-- https://codereview.chromium.org/478333002/ -->
+ <style>
+ .box {
+ width: 100px;
+ height: 100px;
+ position: relative;
+ z-index: 1;
+ top: 10px;
+ background-color: green;
+ border: 1px black solid;
+ }
+ .blending {
+ mix-blend-mode: difference;
+ }
+ .container {
+ position: absolute;
+ left: 0px;
+ z-index: 0;
+ }
+ </style>
+ <script>
+ window.onload = function() {
+ var container = document.createElement('div');
+ container.classList.add('container');
+ var lastElement = container;
+ for (var i = 0; i < 100; i++) {
+ var box = document.createElement('div');
+ box.classList.add('box');
+ lastElement.appendChild(box);
+ lastElement = box;
+ }
+ // The leaf element has blending.
+ lastElement.classList.add('blending');
+ document.body.appendChild(container);
+ // Force repaint.
+ var left = 0;
+ (function frame() {
+ container.style.left = left + 'px';
+ left = (left + 1) % 2;
+ requestAnimationFrame(frame);
+ })();
+ };
+ </script>
+</head>
+<body>
+</body>
+</html>
« no previous file with comments | « tools/perf/page_sets/tough_animation_cases/mix_blend_mode_animation_screen.html ('k') | tools/run-perf-test.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698