[CSS Shapes] Add performance test for complex polygon with shape-margin
authorzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Feb 2014 01:17:14 +0000 (01:17 +0000)
committerzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Feb 2014 01:17:14 +0000 (01:17 +0000)
commit1f95eb80101eb8729906cba79e75966419422b2b
treea2e47a96d8cabff1006223bdb52107249a4d1dee
parent413bacc55f6226148dd0f51ddae988c8829205d7
[CSS Shapes] Add performance test for complex polygon with shape-margin
https://bugs.webkit.org/show_bug.cgi?id=128769

Reviewed by Ryosuke Niwa.

This patch modifies the logic of createShapeOutsideTest to accept multiple
CSS properties from the test. The patch adds performance test for complex
polygon shape (self intersecting at multiple places) case, moreover we
apply shape-margin on the polygon also.

* Layout/Shapes/ShapeOutsideContentBox.html:
* Layout/Shapes/ShapeOutsideInset.html:
* Layout/Shapes/ShapeOutsidePolygonWithMargin.html: Added.
* Layout/Shapes/ShapeOutsideRaster.html:
* Layout/Shapes/ShapeOutsideSimplePolygon.html:
* Layout/Shapes/resources/shapes.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/Layout/Shapes/ShapeOutsideContentBox.html
PerformanceTests/Layout/Shapes/ShapeOutsideInset.html
PerformanceTests/Layout/Shapes/ShapeOutsidePolygonWithMargin.html [new file with mode: 0644]
PerformanceTests/Layout/Shapes/ShapeOutsideRaster.html
PerformanceTests/Layout/Shapes/ShapeOutsideSimplePolygon.html
PerformanceTests/Layout/Shapes/resources/shapes.js