Title: [165408] trunk/PerformanceTests
Revision
165408
Author
[email protected]
Date
2014-03-10 15:32:15 -0700 (Mon, 10 Mar 2014)

Log Message

[CSS Shapes] Add performance tests for SVG shape with shape-margin
https://bugs.webkit.org/show_bug.cgi?id=129930

Reviewed by Ryosuke Niwa.

The test is skipped by default.

* Layout/Shapes/ShapeOutsideSVGWithMargin.html: Added.
* Layout/Shapes/resources/shape.svg: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (165407 => 165408)


--- trunk/PerformanceTests/ChangeLog	2014-03-10 22:21:44 UTC (rev 165407)
+++ trunk/PerformanceTests/ChangeLog	2014-03-10 22:32:15 UTC (rev 165408)
@@ -1,3 +1,15 @@
+2014-03-10  Zoltan Horvath  <[email protected]>
+
+        [CSS Shapes] Add performance tests for SVG shape with shape-margin
+        https://bugs.webkit.org/show_bug.cgi?id=129930
+
+        Reviewed by Ryosuke Niwa.
+
+        The test is skipped by default.
+
+        * Layout/Shapes/ShapeOutsideSVGWithMargin.html: Added.
+        * Layout/Shapes/resources/shape.svg: Added.
+
 2014-02-19  Zoltan Horvath  <[email protected]>
 
         [CSS Shapes] Add performance test for stacked floats with shape-outsides

Added: trunk/PerformanceTests/Layout/Shapes/ShapeOutsideSVGWithMargin.html (0 => 165408)


--- trunk/PerformanceTests/Layout/Shapes/ShapeOutsideSVGWithMargin.html	                        (rev 0)
+++ trunk/PerformanceTests/Layout/Shapes/ShapeOutsideSVGWithMargin.html	2014-03-10 22:32:15 UTC (rev 165408)
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <link rel="stylesheet" href="" type="text/css"></link>
+        <script src=""
+        <script src=""
+    </head>
+    <body>
+        <pre id="log"></pre>
+        <script>
+            var properties = {
+                width: "200px",
+                height: "200px",
+                webkitShapeOutside: "url(resources/shape.svg)",
+                webkitShapeMargin: "5px"
+            };
+            PerfTestRunner.measureTime(createShapeOutsideTest(properties, 1000));
+        </script>
+    </body>
+</html>

Added: trunk/PerformanceTests/Layout/Shapes/resources/shape.svg (0 => 165408)


--- trunk/PerformanceTests/Layout/Shapes/resources/shape.svg	                        (rev 0)
+++ trunk/PerformanceTests/Layout/Shapes/resources/shape.svg	2014-03-10 22:32:15 UTC (rev 165408)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+	 width="200px" height="200px" viewBox="0 0 200 200" enable-background="" 0 0 200 200" xml:space="preserve">
+<path fill="#BE5C27" stroke="#000000" stroke-miterlimit="10" d="M177,172H20.5v-25h107l-47-32l114,8.5
+	c-26.808,0-48.5-24.376-48.5-54.5c18.517,0,33.5-6.933,33.5-15.5c-12.713,0-23-7.156-23-16L183,28l-83-15.5l-93-3V196L177,172z"/>
+</svg>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to