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

Unified Diff: PerformanceTests/Layout/Shapes/ShapeOutsideRaster.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/ShapeOutsideRaster.html
diff --git a/PerformanceTests/Layout/Shapes/ShapeOutsideRaster.html b/PerformanceTests/Layout/Shapes/ShapeOutsideRaster.html
new file mode 100644
index 0000000000000000000000000000000000000000..ec19f52bd523f27ac58805647f03068bc774dc5f
--- /dev/null
+++ b/PerformanceTests/Layout/Shapes/ShapeOutsideRaster.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: "url(resources/shape.gif)"
+ };
+ PerfTestRunner.measureTime(createShapeOutsideTest(properties, 1000));
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698