[CSS Shapes] Add performance test for stacked floats with shape-outsides
authorzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Feb 2014 23:22:47 +0000 (23:22 +0000)
committerzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Feb 2014 23:22:47 +0000 (23:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=128821

Reviewed by Brent Fulgham.

This tests generate stacked floats content with shape-outsides.
The test is skipped by default.

* Layout/Shapes/ShapeOutsideStackedPolygons.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164395 268f45cc-cd09-0410-ab3c-d52691b4dbfc

PerformanceTests/ChangeLog
PerformanceTests/Layout/Shapes/ShapeOutsideStackedPolygons.html [new file with mode: 0644]

index da43558..59c9ff6 100644 (file)
@@ -1,3 +1,15 @@
+2014-02-19  Zoltan Horvath  <zoltan@webkit.org>
+
+        [CSS Shapes] Add performance test for stacked floats with shape-outsides
+        https://bugs.webkit.org/show_bug.cgi?id=128821
+
+        Reviewed by Brent Fulgham.
+
+        This tests generate stacked floats content with shape-outsides.
+        The test is skipped by default.
+
+        * Layout/Shapes/ShapeOutsideStackedPolygons.html: Added.
+
 2014-02-15  Zoltan Horvath  <zoltan@webkit.org>
 
         [CSS Shapes] Add performance test for raster shape with shape-margin
diff --git a/PerformanceTests/Layout/Shapes/ShapeOutsideStackedPolygons.html b/PerformanceTests/Layout/Shapes/ShapeOutsideStackedPolygons.html
new file mode 100644 (file)
index 0000000..75dd481
--- /dev/null
@@ -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: "100px",
+                height: "1000px",
+                webkitShapeOutside: "polygon(0 0, 100px 1000px, 0 1000px)"
+            };
+            PerfTestRunner.measureTime(createShapeOutsideTest(properties, 1000));
+        </script>
+    </body>
+</html>