From: zoltan@webkit.org Date: Wed, 5 Feb 2014 04:10:43 +0000 (+0000) Subject: [CSS Shapes] Add initial performance test for shape-outside: content-box X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=243a5591d87ea1ec546f140383281b566af3a78f [CSS Shapes] Add initial performance test for shape-outside: content-box https://bugs.webkit.org/show_bug.cgi?id=128190 Reviewed by Ryosuke Niwa. I've introduced Shapes subdirectory in Layout, every CSS Shapes related performance tests should go there in the future. The initial performance tests uses 'shape-outside: content-box' in order to tests the code paths of the Shapes implementation. I also introduced shapes.js, which allows us to easily add new, simple performance tests for shape-outside. The entire progress is tracked under #128188 meta bug. * Layout/Shapes/ShapeOutsideContentBox.html: Added. * Layout/Shapes/resources/shapes.css: Added. * Layout/Shapes/resources/shapes.js: Added. * Skipped: We skip running the tests by default for now. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163424 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/PerformanceTests/ChangeLog b/PerformanceTests/ChangeLog index 7229d16..08f7233 100644 --- a/PerformanceTests/ChangeLog +++ b/PerformanceTests/ChangeLog @@ -1,3 +1,22 @@ +2014-02-04 Zoltan Horvath + + [CSS Shapes] Add initial performance test for shape-outside: content-box + https://bugs.webkit.org/show_bug.cgi?id=128190 + + Reviewed by Ryosuke Niwa. + + I've introduced Shapes subdirectory in Layout, every CSS Shapes related performance tests should + go there in the future. The initial performance tests uses 'shape-outside: content-box' in order + to tests the code paths of the Shapes implementation. I also introduced shapes.js, which allows us + to easily add new, simple performance tests for shape-outside. + + The entire progress is tracked under #128188 meta bug. + + * Layout/Shapes/ShapeOutsideContentBox.html: Added. + * Layout/Shapes/resources/shapes.css: Added. + * Layout/Shapes/resources/shapes.js: Added. + * Skipped: We skip running the tests by default for now. + 2014-01-17 Manuel Rego Casasnovas [CSS Regions] Minor fixes in regions performance tests diff --git a/PerformanceTests/Layout/Shapes/ShapeOutsideContentBox.html b/PerformanceTests/Layout/Shapes/ShapeOutsideContentBox.html new file mode 100644 index 0000000..d677d0e --- /dev/null +++ b/PerformanceTests/Layout/Shapes/ShapeOutsideContentBox.html @@ -0,0 +1,96 @@ + + + + + + + + +

+        
+    
+
diff --git a/PerformanceTests/Layout/Shapes/resources/shapes.css b/PerformanceTests/Layout/Shapes/resources/shapes.css
new file mode 100644
index 0000000..bdee4c5
--- /dev/null
+++ b/PerformanceTests/Layout/Shapes/resources/shapes.css
@@ -0,0 +1,7 @@
+.testBox {
+    width: 800px;
+}
+
+.floatingObject {
+    border: 1px solid black;
+}
diff --git a/PerformanceTests/Skipped b/PerformanceTests/Skipped
index 12e8497..86a303b 100644
--- a/PerformanceTests/Skipped
+++ b/PerformanceTests/Skipped
@@ -91,3 +91,6 @@ Layout/LineLayoutJapanese.html
 
 # Don't run the interactive runner. We run Full.html
 DoYouEvenBench/InteractiveRunner.html
+
+# We skip Shapes tests for now: https://bugs.webkit.org/show_bug.cgi?id=128188
+Layout/Shapes