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

Unified Diff: PerformanceTests/Layout/Shapes/ShapeOutsideSimplePolygon.html

Issue 186783003: [CSS Shapes] Add performance tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: All perf tests without the .gif Created 6 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: PerformanceTests/Layout/Shapes/ShapeOutsideSimplePolygon.html
diff --git a/PerformanceTests/Layout/Shapes/ShapeOutsideSimplePolygon.html b/PerformanceTests/Layout/Shapes/ShapeOutsideSimplePolygon.html
new file mode 100644
index 0000000000000000000000000000000000000000..16e338aa14f2eb0eb44eea93f5dc6d82ae1d4aa0
--- /dev/null
+++ b/PerformanceTests/Layout/Shapes/ShapeOutsideSimplePolygon.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <link rel="stylesheet" href="resources/shapes.css" type="text/css"></link>
+ <script src="../../resources/runner.js"></script>
+ <script src="resources/shapes.js"></script>
+ </head>
+ <body>
+ <pre id="log"></pre>
+ <script>
+ var properties = {
+ width: "200px",
+ height: "200px",
+ webkitShapeOutside: "polygon(0 0, 200px 100px, 0px 200px)"
+ };
+ PerfTestRunner.measureTime(createShapeOutsideTest(properties, 1000));
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698