Add an Animometer developer test which animates text-rich boxes
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Dec 2015 04:26:36 +0000 (04:26 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Dec 2015 04:26:36 +0000 (04:26 +0000)
commit6a47ac4b69929baa63b3482a3519e4990ce43c67
treef840a911540d70ff9445125f88892f4d53dc8229
parent24c45451233b57c0780d8478cbec575c61e0ad1f
Add an Animometer developer test which animates text-rich boxes
https://bugs.webkit.org/show_bug.cgi?id=152544

Reviewed by Zalan Bujtas.

Add a test that draws lots of international text. This is a particle test,
moving the boxes around with absolution positioning.

* Animometer/resources/debug-runner/tests.js:
* Animometer/tests/text/resources/text-boxes.js: Added.
(BouncingTextBox):
(BouncingTextBox.prototype._move):
(BouncingTextBox.prototype.animate):
(BouncingTextBoxStage):
(BouncingTextBoxStage.prototype.createParticle):
(BouncingTextBoxStage.prototype.particleWillBeRemoved):
(BouncingTextBoxsBenchmark):
(BouncingTextBoxsBenchmark.prototype.createStage):
(window.benchmarkClient.create):
* Animometer/tests/text/text-boxes.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/Animometer/resources/debug-runner/tests.js
PerformanceTests/Animometer/tests/text/resources/text-boxes.js [new file with mode: 0644]
PerformanceTests/Animometer/tests/text/text-boxes.html [new file with mode: 0644]
PerformanceTests/ChangeLog