WebKit Bugzilla
Attachment 342334 Details for
Bug 186447
: [MotionMark] Rename Suits test files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-186447-20180608145544.patch (text/plain), 22.50 KB, created by
Jon Lee
on 2018-06-08 14:55:44 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jon Lee
Created:
2018-06-08 14:55:44 PDT
Size:
22.50 KB
patch
obsolete
>Subversion Revision: 232562 >diff --git a/PerformanceTests/ChangeLog b/PerformanceTests/ChangeLog >index 2f0eee6579d23798597edfd352cb0d904e80cd27..6d76659b45ff1b5ba4a9492467ef77160e1c5f17 100644 >--- a/PerformanceTests/ChangeLog >+++ b/PerformanceTests/ChangeLog >@@ -1,3 +1,15 @@ >+2018-06-08 Jon Lee <jonlee@apple.com> >+ >+ [MotionMark] Rename Suits test files >+ https://bugs.webkit.org/show_bug.cgi?id=186447 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * MotionMark/resources/runner/tests.js: >+ * MotionMark/tests/master/resources/suits.js: Renamed from PerformanceTests/MotionMark/tests/master/resources/svg-particles.js. >+ * MotionMark/tests/master/suits.html: Renamed from PerformanceTests/MotionMark/tests/master/svg-particles.html. >+ * MotionMark/tests/svg/suits.html: >+ > 2018-06-08 Jon Lee <jonlee@apple.com> > > Add sub-tests based on Suits >diff --git a/PerformanceTests/MotionMark/resources/runner/tests.js b/PerformanceTests/MotionMark/resources/runner/tests.js >index 1ab721103eab2cdaf27229d0034e00771054ee18..bc31406291b1e61cbf849c663e84a2eb0e899c60 100644 >--- a/PerformanceTests/MotionMark/resources/runner/tests.js >+++ b/PerformanceTests/MotionMark/resources/runner/tests.js >@@ -64,7 +64,7 @@ Suites.push(new Suite("MotionMark", > name: "Design" > }, > { >- url: "master/svg-particles.html", >+ url: "master/suits.html", > name: "Suits" > }, > ] >diff --git a/PerformanceTests/MotionMark/tests/master/resources/suits.js b/PerformanceTests/MotionMark/tests/master/resources/suits.js >new file mode 100644 >index 0000000000000000000000000000000000000000..526f8797a0f7828aac24376ded790265e6596cc6 >--- /dev/null >+++ b/PerformanceTests/MotionMark/tests/master/resources/suits.js >@@ -0,0 +1,147 @@ >+/* >+ * Copyright (C) 2015-2018 Apple Inc. All rights reserved. >+ * >+ * Redistribution and use in source and binary forms, with or without >+ * modification, are permitted provided that the following conditions >+ * are met: >+ * 1. Redistributions of source code must retain the above copyright >+ * notice, this list of conditions and the following disclaimer. >+ * 2. Redistributions in binary form must reproduce the above copyright >+ * notice, this list of conditions and the following disclaimer in the >+ * documentation and/or other materials provided with the distribution. >+ * >+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' >+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, >+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR >+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS >+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR >+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF >+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS >+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN >+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) >+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF >+ * THE POSSIBILITY OF SUCH DAMAGE. >+ */ >+(function() { >+ >+window.SuitsParticle = Utilities.createSubclass(Particle, >+ function(stage) >+ { >+ this.isClipPath = stage.particleCounter % 2; >+ this.initialize(stage); >+ }, { >+ >+ sizeMinimum: 30, >+ sizeRange: 40, >+ hasGradient: true, >+ >+ initialize: function(stage) >+ { >+ var shapeId = "#shape-" + Stage.randomInt(1, stage.particleTypeCount); >+ if (this.isClipPath) { >+ this.element = Utilities.createSVGElement("rect", { >+ x: 0, >+ y: 0, >+ "clip-path": "url(" + shapeId + ")" >+ }, {}, stage.element); >+ } else { >+ var shapePath = document.querySelector(shapeId + " path"); >+ this.element = shapePath.cloneNode(); >+ stage.element.appendChild(this.element); >+ } >+ >+ if (this.hasGradient) { >+ this.gradient = document.getElementById("default-gradient").cloneNode(true); >+ this.gradient.id = "gradient-" + stage.gradientsCounter++; >+ stage.gradientsDefs.appendChild(this.gradient); >+ this.element.setAttribute("fill", "url(#" + this.gradient.id + ")"); >+ } >+ Particle.call(this, stage); >+ }, >+ >+ reset: function() >+ { >+ Particle.prototype.reset.call(this); >+ >+ this.position = Stage.randomElementInArray(this.stage.emitLocation); >+ >+ var velocityMagnitude = Stage.random(.5, 2.5); >+ var angle = Stage.randomInt(0, this.stage.emitSteps) / this.stage.emitSteps * Math.PI * 2 + Stage.dateCounterValue(1000) * this.stage.emissionSpin + velocityMagnitude; >+ this.velocity = new Point(Math.sin(angle), Math.cos(angle)) >+ .multiply(velocityMagnitude); >+ >+ if (this.isClipPath) { >+ this.element.setAttribute("width", this.size.x); >+ this.element.setAttribute("height", this.size.y); >+ this.transformSuffix = " translate(-" + this.size.center.x + ",-" + this.size.center.y + ")"; >+ } else >+ this.transformSuffix = " scale(" + this.size.x + ") translate(-.5,-.5)"; >+ >+ this.stage.colorOffset = (this.stage.colorOffset + .5) % 360; >+ >+ if (this.hasGradient) { >+ var transform = this.stage.element.createSVGTransform(); >+ transform.setRotate(Stage.randomInt(0, 359), 0, 0); >+ this.gradient.gradientTransform.baseVal.initialize(transform); >+ >+ var stops = this.gradient.querySelectorAll("stop"); >+ stops[0].setAttribute("stop-color", "hsl(" + this.stage.colorOffset + ", 70%, 45%)"); >+ stops[1].setAttribute("stop-color", "hsl(" + ((this.stage.colorOffset + Stage.randomInt(50,100)) % 360) + ", 70%, 65%)"); >+ } else >+ this.element.setAttribute("fill", "hsl(" + this.stage.colorOffset + ", 70%, 65%)"); >+ }, >+ >+ move: function() >+ { >+ this.element.setAttribute("transform", "translate(" + this.position.x + "," + this.position.y + ") " + this.rotater.rotate(Point.zero) + this.transformSuffix); >+ } >+}); >+ >+var SuitsStage = Utilities.createSubclass(ParticlesStage, >+ function() >+ { >+ ParticlesStage.call(this); >+ }, { >+ >+ initialize: function(benchmark) >+ { >+ ParticlesStage.prototype.initialize.call(this, benchmark); >+ this.emissionSpin = Stage.random(0, 3); >+ this.emitSteps = Stage.randomInt(4, 6); >+ this.emitLocation = [ >+ new Point(this.size.x * .25, this.size.y * .333), >+ new Point(this.size.x * .5, this.size.y * .25), >+ new Point(this.size.x * .75, this.size.y * .333) >+ ]; >+ this.colorOffset = Stage.randomInt(0, 359); >+ >+ this.particleTypeCount = document.querySelectorAll(".shape").length; >+ this.gradientsDefs = document.getElementById("gradients"); >+ this.gradientsCounter = 0; >+ this.particleCounter = 0; >+ }, >+ >+ createParticle: function() >+ { >+ this.particleCounter++; >+ return new SuitsParticle(this); >+ }, >+ >+ willRemoveParticle: function(particle) >+ { >+ particle.element.remove(); >+ if (particle.gradient) >+ particle.gradient.remove(); >+ } >+}); >+ >+var SuitsBenchmark = Utilities.createSubclass(Benchmark, >+ function(options) >+ { >+ Benchmark.call(this, new SuitsStage(), options); >+ } >+); >+ >+window.benchmarkClass = SuitsBenchmark; >+ >+})(); >diff --git a/PerformanceTests/MotionMark/tests/master/resources/svg-particles.js b/PerformanceTests/MotionMark/tests/master/resources/svg-particles.js >deleted file mode 100644 >index 526f8797a0f7828aac24376ded790265e6596cc6..0000000000000000000000000000000000000000 >--- a/PerformanceTests/MotionMark/tests/master/resources/svg-particles.js >+++ /dev/null >@@ -1,147 +0,0 @@ >-/* >- * Copyright (C) 2015-2018 Apple Inc. All rights reserved. >- * >- * Redistribution and use in source and binary forms, with or without >- * modification, are permitted provided that the following conditions >- * are met: >- * 1. Redistributions of source code must retain the above copyright >- * notice, this list of conditions and the following disclaimer. >- * 2. Redistributions in binary form must reproduce the above copyright >- * notice, this list of conditions and the following disclaimer in the >- * documentation and/or other materials provided with the distribution. >- * >- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' >- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, >- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR >- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS >- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR >- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF >- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS >- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN >- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) >- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF >- * THE POSSIBILITY OF SUCH DAMAGE. >- */ >-(function() { >- >-window.SuitsParticle = Utilities.createSubclass(Particle, >- function(stage) >- { >- this.isClipPath = stage.particleCounter % 2; >- this.initialize(stage); >- }, { >- >- sizeMinimum: 30, >- sizeRange: 40, >- hasGradient: true, >- >- initialize: function(stage) >- { >- var shapeId = "#shape-" + Stage.randomInt(1, stage.particleTypeCount); >- if (this.isClipPath) { >- this.element = Utilities.createSVGElement("rect", { >- x: 0, >- y: 0, >- "clip-path": "url(" + shapeId + ")" >- }, {}, stage.element); >- } else { >- var shapePath = document.querySelector(shapeId + " path"); >- this.element = shapePath.cloneNode(); >- stage.element.appendChild(this.element); >- } >- >- if (this.hasGradient) { >- this.gradient = document.getElementById("default-gradient").cloneNode(true); >- this.gradient.id = "gradient-" + stage.gradientsCounter++; >- stage.gradientsDefs.appendChild(this.gradient); >- this.element.setAttribute("fill", "url(#" + this.gradient.id + ")"); >- } >- Particle.call(this, stage); >- }, >- >- reset: function() >- { >- Particle.prototype.reset.call(this); >- >- this.position = Stage.randomElementInArray(this.stage.emitLocation); >- >- var velocityMagnitude = Stage.random(.5, 2.5); >- var angle = Stage.randomInt(0, this.stage.emitSteps) / this.stage.emitSteps * Math.PI * 2 + Stage.dateCounterValue(1000) * this.stage.emissionSpin + velocityMagnitude; >- this.velocity = new Point(Math.sin(angle), Math.cos(angle)) >- .multiply(velocityMagnitude); >- >- if (this.isClipPath) { >- this.element.setAttribute("width", this.size.x); >- this.element.setAttribute("height", this.size.y); >- this.transformSuffix = " translate(-" + this.size.center.x + ",-" + this.size.center.y + ")"; >- } else >- this.transformSuffix = " scale(" + this.size.x + ") translate(-.5,-.5)"; >- >- this.stage.colorOffset = (this.stage.colorOffset + .5) % 360; >- >- if (this.hasGradient) { >- var transform = this.stage.element.createSVGTransform(); >- transform.setRotate(Stage.randomInt(0, 359), 0, 0); >- this.gradient.gradientTransform.baseVal.initialize(transform); >- >- var stops = this.gradient.querySelectorAll("stop"); >- stops[0].setAttribute("stop-color", "hsl(" + this.stage.colorOffset + ", 70%, 45%)"); >- stops[1].setAttribute("stop-color", "hsl(" + ((this.stage.colorOffset + Stage.randomInt(50,100)) % 360) + ", 70%, 65%)"); >- } else >- this.element.setAttribute("fill", "hsl(" + this.stage.colorOffset + ", 70%, 65%)"); >- }, >- >- move: function() >- { >- this.element.setAttribute("transform", "translate(" + this.position.x + "," + this.position.y + ") " + this.rotater.rotate(Point.zero) + this.transformSuffix); >- } >-}); >- >-var SuitsStage = Utilities.createSubclass(ParticlesStage, >- function() >- { >- ParticlesStage.call(this); >- }, { >- >- initialize: function(benchmark) >- { >- ParticlesStage.prototype.initialize.call(this, benchmark); >- this.emissionSpin = Stage.random(0, 3); >- this.emitSteps = Stage.randomInt(4, 6); >- this.emitLocation = [ >- new Point(this.size.x * .25, this.size.y * .333), >- new Point(this.size.x * .5, this.size.y * .25), >- new Point(this.size.x * .75, this.size.y * .333) >- ]; >- this.colorOffset = Stage.randomInt(0, 359); >- >- this.particleTypeCount = document.querySelectorAll(".shape").length; >- this.gradientsDefs = document.getElementById("gradients"); >- this.gradientsCounter = 0; >- this.particleCounter = 0; >- }, >- >- createParticle: function() >- { >- this.particleCounter++; >- return new SuitsParticle(this); >- }, >- >- willRemoveParticle: function(particle) >- { >- particle.element.remove(); >- if (particle.gradient) >- particle.gradient.remove(); >- } >-}); >- >-var SuitsBenchmark = Utilities.createSubclass(Benchmark, >- function(options) >- { >- Benchmark.call(this, new SuitsStage(), options); >- } >-); >- >-window.benchmarkClass = SuitsBenchmark; >- >-})(); >diff --git a/PerformanceTests/MotionMark/tests/master/suits.html b/PerformanceTests/MotionMark/tests/master/suits.html >new file mode 100644 >index 0000000000000000000000000000000000000000..72d0872fee38b82976a1fc336779be29400213da >--- /dev/null >+++ b/PerformanceTests/MotionMark/tests/master/suits.html >@@ -0,0 +1,62 @@ >+<!-- >+ Copyright (C) 2015-2017 Apple Inc. All rights reserved. >+ >+ Redistribution and use in source and binary forms, with or without >+ modification, are permitted provided that the following conditions >+ are met: >+ 1. Redistributions of source code must retain the above copyright >+ notice, this list of conditions and the following disclaimer. >+ 2. Redistributions in binary form must reproduce the above copyright >+ notice, this list of conditions and the following disclaimer in the >+ documentation and/or other materials provided with the distribution. >+ >+ THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' >+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, >+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR >+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS >+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR >+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF >+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS >+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN >+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) >+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF >+ THE POSSIBILITY OF SUCH DAMAGE. >+--> >+<!DOCTYPE html> >+<html> >+<head> >+ <meta charset="utf-8"> >+ <link rel="stylesheet" type="text/css" href="../resources/stage.css"> >+</head> >+<body> >+ <svg id="stage"> >+ <defs id="gradients"> >+ <linearGradient id="default-gradient"> >+ <stop offset="0%"/> >+ <stop offset="100%"/> >+ </linearGradient> >+ </defs> >+ <defs id="shapes"> >+ <clipPath id="shape-1" class="shape heart" clipPathUnits="objectBoundingBox"> >+ <path d="M0.5,0.214 C0.466,0.164 0.369,0.09 0.267,0.092 C0.137,0.093 -0,0.186 -0,0.345 C-0,0.659 0.395,0.655 0.5,0.938 C0.605,0.655 1,0.659 1,0.345 C1,0.186 0.863,0.093 0.733,0.092 C0.631,0.09 0.534,0.164 0.5,0.214 z"/> >+ </clipPath> >+ <clipPath id="shape-2" class="shape club" clipPathUnits="objectBoundingBox"> >+ <path d="M0.5,0.018 C0.62,0.018 0.718,0.115 0.718,0.235 C0.718,0.31 0.679,0.377 0.618,0.418 C0.657,0.393 0.703,0.382 0.749,0.381 C0.869,0.381 0.967,0.468 0.967,0.588 C0.967,0.709 0.869,0.806 0.749,0.806 C0.664,0.805 0.578,0.756 0.542,0.677 C0.538,0.799 0.605,0.918 0.708,0.982 C0.593,0.941 0.407,0.941 0.292,0.982 C0.397,0.917 0.461,0.799 0.459,0.676 C0.422,0.756 0.337,0.804 0.251,0.806 C0.131,0.806 0.033,0.709 0.033,0.588 C0.033,0.468 0.131,0.381 0.251,0.381 C0.298,0.38 0.342,0.395 0.382,0.418 C0.319,0.378 0.284,0.309 0.282,0.235 C0.282,0.115 0.38,0.018 0.5,0.018 z"/> >+ </clipPath> >+ <clipPath id="shape-3" class="shape spade" clipPathUnits="objectBoundingBox"> >+ <path d="M0.301,0.982 C0.374,0.941 0.469,0.804 0.469,0.72 C0.374,0.857 0.039,0.825 0.049,0.563 C0.059,0.28 0.406,0.269 0.5,0.018 C0.594,0.269 0.941,0.28 0.951,0.563 C0.961,0.825 0.626,0.857 0.531,0.72 C0.531,0.804 0.626,0.941 0.699,0.982 C0.584,0.941 0.416,0.941 0.301,0.982"/> >+ </clipPath> >+ <clipPath id="shape-4" class="shape diamond" clipPathUnits="objectBoundingBox"> >+ <path d="M0.495,0 C0.424,0.153 0.199,0.439 0.128,0.5 C0.199,0.561 0.424,0.847 0.495,1 C0.566,0.847 0.791,0.561 0.862,0.5 C0.791,0.439 0.566,0.153 0.495,0 z"/> >+ </clipPath> >+ </defs> >+ </svg> >+ <script src="../../resources/strings.js"></script> >+ <script src="../../resources/extensions.js"></script> >+ <script src="../../resources/statistics.js"></script> >+ <script src="../resources/math.js"></script> >+ <script src="../resources/main.js"></script> >+ <script src="resources/particles.js"></script> >+ <script src="resources/suits.js"></script> >+</body> >+</html> >diff --git a/PerformanceTests/MotionMark/tests/master/svg-particles.html b/PerformanceTests/MotionMark/tests/master/svg-particles.html >deleted file mode 100644 >index a7929303719263f119e6c3a77febbadb9b5b440e..0000000000000000000000000000000000000000 >--- a/PerformanceTests/MotionMark/tests/master/svg-particles.html >+++ /dev/null >@@ -1,62 +0,0 @@ >-<!-- >- Copyright (C) 2015-2017 Apple Inc. All rights reserved. >- >- Redistribution and use in source and binary forms, with or without >- modification, are permitted provided that the following conditions >- are met: >- 1. Redistributions of source code must retain the above copyright >- notice, this list of conditions and the following disclaimer. >- 2. Redistributions in binary form must reproduce the above copyright >- notice, this list of conditions and the following disclaimer in the >- documentation and/or other materials provided with the distribution. >- >- THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' >- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, >- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR >- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS >- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR >- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF >- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS >- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN >- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) >- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF >- THE POSSIBILITY OF SUCH DAMAGE. >---> >-<!DOCTYPE html> >-<html> >-<head> >- <meta charset="utf-8"> >- <link rel="stylesheet" type="text/css" href="../resources/stage.css"> >-</head> >-<body> >- <svg id="stage"> >- <defs id="gradients"> >- <linearGradient id="default-gradient"> >- <stop offset="0%"/> >- <stop offset="100%"/> >- </linearGradient> >- </defs> >- <defs id="shapes"> >- <clipPath id="shape-1" class="shape heart" clipPathUnits="objectBoundingBox"> >- <path d="M0.5,0.214 C0.466,0.164 0.369,0.09 0.267,0.092 C0.137,0.093 -0,0.186 -0,0.345 C-0,0.659 0.395,0.655 0.5,0.938 C0.605,0.655 1,0.659 1,0.345 C1,0.186 0.863,0.093 0.733,0.092 C0.631,0.09 0.534,0.164 0.5,0.214 z"/> >- </clipPath> >- <clipPath id="shape-2" class="shape club" clipPathUnits="objectBoundingBox"> >- <path d="M0.5,0.018 C0.62,0.018 0.718,0.115 0.718,0.235 C0.718,0.31 0.679,0.377 0.618,0.418 C0.657,0.393 0.703,0.382 0.749,0.381 C0.869,0.381 0.967,0.468 0.967,0.588 C0.967,0.709 0.869,0.806 0.749,0.806 C0.664,0.805 0.578,0.756 0.542,0.677 C0.538,0.799 0.605,0.918 0.708,0.982 C0.593,0.941 0.407,0.941 0.292,0.982 C0.397,0.917 0.461,0.799 0.459,0.676 C0.422,0.756 0.337,0.804 0.251,0.806 C0.131,0.806 0.033,0.709 0.033,0.588 C0.033,0.468 0.131,0.381 0.251,0.381 C0.298,0.38 0.342,0.395 0.382,0.418 C0.319,0.378 0.284,0.309 0.282,0.235 C0.282,0.115 0.38,0.018 0.5,0.018 z"/> >- </clipPath> >- <clipPath id="shape-3" class="shape spade" clipPathUnits="objectBoundingBox"> >- <path d="M0.301,0.982 C0.374,0.941 0.469,0.804 0.469,0.72 C0.374,0.857 0.039,0.825 0.049,0.563 C0.059,0.28 0.406,0.269 0.5,0.018 C0.594,0.269 0.941,0.28 0.951,0.563 C0.961,0.825 0.626,0.857 0.531,0.72 C0.531,0.804 0.626,0.941 0.699,0.982 C0.584,0.941 0.416,0.941 0.301,0.982"/> >- </clipPath> >- <clipPath id="shape-4" class="shape diamond" clipPathUnits="objectBoundingBox"> >- <path d="M0.495,0 C0.424,0.153 0.199,0.439 0.128,0.5 C0.199,0.561 0.424,0.847 0.495,1 C0.566,0.847 0.791,0.561 0.862,0.5 C0.791,0.439 0.566,0.153 0.495,0 z"/> >- </clipPath> >- </defs> >- </svg> >- <script src="../../resources/strings.js"></script> >- <script src="../../resources/extensions.js"></script> >- <script src="../../resources/statistics.js"></script> >- <script src="../resources/math.js"></script> >- <script src="../resources/main.js"></script> >- <script src="resources/particles.js"></script> >- <script src="resources/svg-particles.js"></script> >-</body> >-</html> >diff --git a/PerformanceTests/MotionMark/tests/svg/suits.html b/PerformanceTests/MotionMark/tests/svg/suits.html >index 5f3440405a308235e10ecb930816953d0fe4b8bf..55e68d865585ccfebe7cb381bf1f776c8d9582e7 100644 >--- a/PerformanceTests/MotionMark/tests/svg/suits.html >+++ b/PerformanceTests/MotionMark/tests/svg/suits.html >@@ -62,7 +62,7 @@ > <script src="../resources/math.js"></script> > <script src="../resources/main.js"></script> > <script src="../master/resources/particles.js"></script> >- <script src="../master/resources/svg-particles.js"></script> >+ <script src="../master/resources/suits.js"></script> > <script src="suits.js"></script> > </body> > </html>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 186447
: 342334