Update focus and leaves tests
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Mar 2016 02:40:36 +0000 (02:40 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Mar 2016 02:40:36 +0000 (02:40 +0000)
commit664035faecdfd9fc65a50eddf0bdbab4f4908ab0
tree2dfde46a66128d8a263f3d79dac3df64a0960a05
parent3f3e6cba45f8edd69f529e061dd77bf1bbd75fb6
Update focus and leaves tests
https://bugs.webkit.org/show_bug.cgi?id=155825

Reviewed by Simon Fraser.

Particles would improperly disappear, before they were fully off stage. Update the calculation.
* Animometer/tests/dom/resources/leaves.js:
* Animometer/tests/master/resources/leaves.js:

* Animometer/tests/master/focus.html: Update the center element styling.
* Animometer/tests/master/resources/focus.js:
(FocusElement.Utilities.createClass): Give enough space in the container for each particle for the blur
to spread. It should be about 3x more space than the blur radius on each side.
(Stage.call.initialize): Ditto for the center element.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/Animometer/tests/dom/resources/leaves.js
PerformanceTests/Animometer/tests/master/focus.html
PerformanceTests/Animometer/tests/master/resources/focus.js
PerformanceTests/Animometer/tests/master/resources/leaves.js
PerformanceTests/ChangeLog