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

Unified Diff: PerformanceTests/Animation/mix-blend-mode-propagating-isolation.html

Issue 1175453002: Finalize migration of blink_perf.animation to smoothness.tough_animation_cases (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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: PerformanceTests/Animation/mix-blend-mode-propagating-isolation.html
diff --git a/PerformanceTests/Animation/mix-blend-mode-propagating-isolation.html b/PerformanceTests/Animation/mix-blend-mode-propagating-isolation.html
deleted file mode 100644
index 5c1c4e731d1bd2bd85865c6260094e493c4ec598..0000000000000000000000000000000000000000
--- a/PerformanceTests/Animation/mix-blend-mode-propagating-isolation.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<!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: red;
- border: 1px black solid;
- }
- .blending {
- mix-blend-mode: difference;
- }
- #container {
- position: absolute;
- left: 0px;
- z-index: 0;
- }
- </style>
- <script src="../resources/runner.js"></script>
- <script src="resources/framerate.js"></script>
- <script>
- var intervalId = 0;
- window.onload = function () {
- PerfTestRunner.prepareToMeasureValuesAsync({
- description: "Measure performance of software-animating a deep DOM subtree having one blending leaf.",
- done: onCompletedRun,
- unit: 'fps'
- });
-
- // The leaf element has blending
- var lastElement = document.createElement("div");
- lastElement.setAttribute("class", "blending box");
-
- for (var i = 0; i < 100; i++) {
- var el = document.createElement("div");
- el.setAttribute("class", "box");
- el.appendChild(lastElement);
- lastElement = el;
- }
- var container = document.getElementById("container");
- container.appendChild(lastElement);
-
- intervalId = window.setInterval(function () {
- var leftVal = parseInt(container.style.left) || 0;
- container.style.left = (leftVal + 1) + "px";
- }, 16);
-
- startTrackingFrameRate();
- }
-
- function onCompletedRun() {
- clearInterval(intervalId);
- stopTrackingFrameRate();
- }
- </script>
-</head>
-<body>
- <pre id="log"> </pre>
- <div id="container"> </div>
-</body>
-</html>
« no previous file with comments | « PerformanceTests/Animation/mix-blend-mode-animation-screen.html ('k') | PerformanceTests/Animation/resources/framerate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698