⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 194411 in webkit


Ignore:
Timestamp:
Dec 23, 2015, 8:26:36 PM (11 years ago)
Author:
Simon Fraser
Message:

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.
Location:
trunk/PerformanceTests
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PerformanceTests/Animometer/resources/debug-runner/tests.js

    r194407 r194411  
    9898            name: "CSS layering text"
    9999        },
     100        {
     101            url: "text/text-boxes.html?particleWidth=280&particleHeight=180",
     102            name: "CSS text boxes"
     103        },
    100104    ]
    101105));
  • trunk/PerformanceTests/ChangeLog

    r194408 r194411  
     12015-12-23  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Add an Animometer developer test which animates text-rich boxes
     4        https://bugs.webkit.org/show_bug.cgi?id=152544
     5
     6        Reviewed by Zalan Bujtas.
     7       
     8        Add a test that draws lots of international text. This is a particle test,
     9        moving the boxes around with absolution positioning.
     10
     11        * Animometer/resources/debug-runner/tests.js:
     12        * Animometer/tests/text/resources/text-boxes.js: Added.
     13        (BouncingTextBox):
     14        (BouncingTextBox.prototype._move):
     15        (BouncingTextBox.prototype.animate):
     16        (BouncingTextBoxStage):
     17        (BouncingTextBoxStage.prototype.createParticle):
     18        (BouncingTextBoxStage.prototype.particleWillBeRemoved):
     19        (BouncingTextBoxsBenchmark):
     20        (BouncingTextBoxsBenchmark.prototype.createStage):
     21        (window.benchmarkClient.create):
     22        * Animometer/tests/text/text-boxes.html: Added.
     23
    1242015-12-23  Jon Lee  <jonlee@apple.com>
    225
Note: See TracChangeset for help on using the changeset viewer.