<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>12074</bug_id>
          
          <creation_ts>2007-01-02 08:43:34 -0800</creation_ts>
          <short_desc>DumpRenderTree needs support for quickly dumping animations</short_desc>
          <delta_ts>2010-01-11 08:13:09 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37774</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-01-02 08:43:34 -0800</bug_when>
    <thetext>DumpRenderTree needs support for quickly dumping animations

DumpRenderTree currently has no special support for dumping animations.  In this bug I&apos;m proposing having the ability both to dump multiple versions, as well as have those versions dumped immediately (w/o having to wait for animations to complete on a natural timeline -- this would probably require bug 12073).  It would be useful if DRT could be enhanced to support dumping multiple versions of a single file (either a text dump in a single file, or multiple pixel files, or mutitple text files, or some combination).  This would actually be most useful in pixel mode (or most easy to debug).

One example output:

test.svg:
test-expected-time-0.txt
test-expected-time-200.txt
test-expected-time-5000.txt
test-expected-time-0.png
test-expected-time-200.png
test-expected-time-5000.png

Or another, dumping everything to one text file:

test-expected.txt
Animation at time: 0
 .... svg dump ...
Animation at time: 200
 .... slightly different dump ...
Animation at time: 5000

you get the picture.

DRT could expose a javascript interface similar to:
if (window.layoutTestController)
    window.layoutTestController.dumpMultipleAnimationTimeOffsets(0, 200, 5000)

I&apos;d be interested to hear other proposals.  I think it&apos;s important to make testing animation as easy as possible in order for us to actually end up with a good animation implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179366</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2010-01-11 08:13:09 -0800</bug_when>
    <thetext>Heh, just found this bug. I added a &quot;fast-forwarding&quot; SVG animation dumping testing mode some time ago. You can define sampling points for the animation, and DRT quickly jumps to the sampling points, instead of running the animation in realtime. Closing bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>