https://bugs.webkit.org/show_bug.cgi?id=128770
Reviewed by Ryosuke Niwa.
This patch introduces a new performance test for image valued shapes,
where shape-margin is applied on the shape.
The test is skipped by default.
* Layout/Shapes/ShapeOutsideRasterWithMargin.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164162
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-02-15 Zoltan Horvath <zoltan@webkit.org>
+
+ [CSS Shapes] Add performance test for raster shape with shape-margin
+ https://bugs.webkit.org/show_bug.cgi?id=128770
+
+ Reviewed by Ryosuke Niwa.
+
+ This patch introduces a new performance test for image valued shapes,
+ where shape-margin is applied on the shape.
+ The test is skipped by default.
+
+ * Layout/Shapes/ShapeOutsideRasterWithMargin.html: Added.
+
2014-02-14 Ryosuke Niwa <rniwa@webkit.org>
Improve the appearance of DYEBench
--- /dev/null
+<!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)",
+ webkitShapeMargin: "5px"
+ };
+ PerfTestRunner.measureTime(createShapeOutsideTest(properties, 1000));
+ </script>
+ </body>
+</html>