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

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

Issue 931723002: Add perf tests for animations using different CSS value types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
Index: tools/perf/page_sets/tough_animation_cases/css_value_type_length_complex.html
diff --git a/tools/perf/page_sets/tough_animation_cases/css_value_type_length_complex.html b/tools/perf/page_sets/tough_animation_cases/css_value_type_length_complex.html
new file mode 100644
index 0000000000000000000000000000000000000000..36dd78042cecdb7eb8827e3f868daaddb49860f5
--- /dev/null
+++ b/tools/perf/page_sets/tough_animation_cases/css_value_type_length_complex.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<meta name="viewport" content="width=device-width, user-scalable=no">
+<link rel="stylesheet" type="text/css" href="resources/tablet.css">
+<style>
+target {
+ position: relative;
+}
+</style>
+<script src="resources/perftesthelper.js"></script>
+<script src="resources/css_value_type.js"></script>
+
+<container id="container"></container>
+
+<script>
+perfTestCSSValue({
+ property: 'left',
+ from: 'calc(-10px + 1em - 20%)',
+ to: 'calc(100px - 4rem + 10vmin)',
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698