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

Unified Diff: PerformanceTests/Layout/Shapes/ShapeOutsidePolygonWithMargin.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/ShapeOutsidePolygonWithMargin.html
diff --git a/PerformanceTests/Layout/Shapes/ShapeOutsidePolygonWithMargin.html b/PerformanceTests/Layout/Shapes/ShapeOutsidePolygonWithMargin.html
new file mode 100644
index 0000000000000000000000000000000000000000..b60147590bf3e8efa6c13f3c713f05b552f321c2
--- /dev/null
+++ b/PerformanceTests/Layout/Shapes/ShapeOutsidePolygonWithMargin.html
@@ -0,0 +1,20 @@
+<!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 40px, 0px 40px, 200px 80px, 0px 80px, 200px 120px, 0px 120px, 200px 160px, 0px 160px, 200px 200px)",
+ webkitShapeMargin: "5px"
+ };
+ PerfTestRunner.measureTime(createShapeOutsideTest(properties, 1000));
+ </script>
+ </body>
+</html>
« no previous file with comments | « PerformanceTests/Layout/Shapes/ShapeOutsideInset.html ('k') | PerformanceTests/Layout/Shapes/ShapeOutsideRaster.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698