<?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>65282</bug_id>
          
          <creation_ts>2011-07-27 13:59:54 -0700</creation_ts>
          <short_desc>SMILTimeContainer should use monotonicallyIncreasingTime() rather than currentTime() for animations</short_desc>
          <delta_ts>2026-04-01 08:03:03 -0700</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Scott Graham">scottmg</reporter>
          <assigned_to name="Scott Graham">scottmg</assigned_to>
          <cc>dino</cc>
    
    <cc>kabakov.as</cc>
    
    <cc>krit</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>443137</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Graham">scottmg</who>
    <bug_when>2011-07-27 13:59:54 -0700</bug_when>
    <thetext>It appears it should be using monotonicallyIncreasingTime to handle changing system clocks while animating.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443142</commentid>
    <comment_count>1</comment_count>
      <attachid>102181</attachid>
    <who name="Scott Graham">scottmg</who>
    <bug_when>2011-07-27 14:06:39 -0700</bug_when>
    <thetext>Created attachment 102181
use monotonicallyIncreasingTime rather than currentTime to update animations</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443145</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-07-27 14:09:54 -0700</bug_when>
    <thetext>Attachment 102181 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/WebCore/ChangeLog&apos;, u&apos;Source/WebCor...&quot; exit_code: 1

Source/WebCore/ChangeLog:9:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443146</commentid>
    <comment_count>3</comment_count>
      <attachid>102183</attachid>
    <who name="Scott Graham">scottmg</who>
    <bug_when>2011-07-27 14:12:08 -0700</bug_when>
    <thetext>Created attachment 102183
use monotonicallyIncreasingTime rather than currentTime to update animations</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443371</commentid>
    <comment_count>4</comment_count>
      <attachid>102183</attachid>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2011-07-27 23:46:13 -0700</bug_when>
    <thetext>Comment on attachment 102183
use monotonicallyIncreasingTime rather than currentTime to update animations

View in context: https://bugs.webkit.org/attachment.cgi?id=102183&amp;action=review

The timing code is similar to the code in AnimationControler and AnimationBase. But these classes use currentTime() as well. Shouldn&apos;t they be affected as well some how?

r- because of the changelog.

&gt; Source/WebCore/ChangeLog:9
&gt; +        SMILTimeContainer using currentTime for animations
&gt; +        https://bugs.webkit.org/show_bug.cgi?id=65282
&gt; +
&gt; +        Reviewed by NOBODY (OOPS!).
&gt; +
&gt; +        No new tests, existing tests should play correctly when system clock
&gt; +        changed.

This needs a detailed description. What did you change? Why did you change it? And it is not only important that do not break thinks: It is important how it affects the behavior. You need tests to verify the new behavior, especially what works now but didn&apos;t work before. Does your patch affect bug 31256 as well?

&gt; Source/WebCore/ChangeLog:11
&gt; +        * svg/animation/SMILTimeContainer.cpp:

Is SMILTimeContainer the only file in WebCore/svg that uses currentTime()?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443373</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2011-07-27 23:49:38 -0700</bug_when>
    <thetext>Adding Dean and Simon to the bug report. I&apos;d like to hear their opinion to the changes. Like I wrote before, the SMILTimeContainer code is similar to the animation stuff in WebCore/page/animation. But the AnimationBase and AnimationController use currentTime() as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443566</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Graham">scottmg</who>
    <bug_when>2011-07-28 11:20:04 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 102183 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=102183&amp;action=review
&gt; 
&gt; The timing code is similar to the code in AnimationControler and AnimationBase. But these classes use currentTime() as well. Shouldn&apos;t they be affected as well some how?

I suspect they should be, but maybe someone else who knows better can comment. From my understanding, currentTime() is correct when you want to know what time the user sees on his clock. currentTime() can jump forward or backwards (suspend, change system time), so for calculating a delta between two events monotonicallyIncreasingTime() would be preferred.

&gt; r- because of the changelog.

My apologies for forgetting this, that was dumb.

&gt; 
&gt; &gt; Source/WebCore/ChangeLog:9
&gt; &gt; +        SMILTimeContainer using currentTime for animations
&gt; &gt; +        https://bugs.webkit.org/show_bug.cgi?id=65282
&gt; &gt; +
&gt; &gt; +        Reviewed by NOBODY (OOPS!).
&gt; &gt; +
&gt; &gt; +        No new tests, existing tests should play correctly when system clock
&gt; &gt; +        changed.
&gt; 
&gt; This needs a detailed description. What did you change? Why did you change it? And it is not only important that do not break thinks: It is important how it affects the behavior. You need tests to verify the new behavior, especially what works now but didn&apos;t work before. Does your patch affect bug 31256 as well?

I wasn&apos;t aware of that bug, but no, it does not appear to be sufficient to fix that bug. This bug should probably be merged with that one. This change is probably not worth pursuing and I&apos;ll investigate the root cause of 31256 instead.

I don&apos;t have a good idea on how to write an automated test for this behaviour. All of the currentTime() implementations appear to go directly to the system clock. I could try to add support for custom control of currentTime to DRT perhaps? But it seems a bit tortured as the test code will be an implementation of monotonicallyIncreasingTime.

&gt; 
&gt; &gt; Source/WebCore/ChangeLog:11
&gt; &gt; +        * svg/animation/SMILTimeContainer.cpp:
&gt; 
&gt; Is SMILTimeContainer the only file in WebCore/svg that uses currentTime()?

Yes, I believe so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443659</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Graham">scottmg</who>
    <bug_when>2011-07-28 14:42:20 -0700</bug_when>
    <thetext>(In reply to comment #6)

&gt; &gt; Does your patch affect bug 31256 as well?

&gt; I wasn&apos;t aware of that bug, but no, it does not appear to be sufficient to fix that bug.

Scratch that, it *does* appear to fix bug 31256 as tested with http://upload.wikimedia.org/wikipedia/commons/4/4f/Soccer_ball_animated.svg I believe I confused my build system when changing the clock when I first tried.

When using currentTime() when the clock is set back a little bit (~30s) normally the animation will pause until the previous (farther in the future time) is reached. Sometimes though, it will just &quot;glitch&quot; and restart. I&apos;m not sure of the cause of that difference yet. But, when using monotonicallyIncreasingTime() I do not see either of these artifacts when setting the clock back a bit.

If you agree Dirk, I will mark this bug as duplicate of 31256 and upload an improved patch there. And if you have suggestions on how to test I would be grateful.

We should perhaps continue the discussion on AnimationController and AnimationBase in a new bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443746</commentid>
    <comment_count>8</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2011-07-28 17:52:09 -0700</bug_when>
    <thetext>(In reply to comment #7)

&gt; We should perhaps continue the discussion on AnimationController and AnimationBase in a new bug.

Yeah. AnimationController and Base should move to the monotonic time as well, but that doesn&apos;t need to happen here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443822</commentid>
    <comment_count>9</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2011-07-28 22:32:42 -0700</bug_when>
    <thetext>Ok, can you upload a new patch with better change log and a test case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>555375</commentid>
    <comment_count>10</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2012-02-13 10:45:40 -0800</bug_when>
    <thetext>Any updates here Scott?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>555409</commentid>
    <comment_count>11</comment_count>
    <who name="Scott Graham">scottmg</who>
    <bug_when>2012-02-13 11:22:12 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; Any updates here Scott?

No, sorry. I guess to write a test that shows the current code is broken, it would first be necessary to virtualize all the port&apos;s currentTime() implementations so that a test could then set it arbitrarily like a user can set system time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1567169</commentid>
    <comment_count>12</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2019-09-02 02:35:04 -0700</bug_when>
    <thetext>SMILTimeContainer and the CSS animation/transition code path uses MonoticTime::now(), which superseded monotonicallyIncreasingTime() since 27.08.2013 (r154706).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195912</commentid>
    <comment_count>13</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-01 08:03:03 -0700</bug_when>
    <thetext>*** Bug 31256 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>102181</attachid>
            <date>2011-07-27 14:06:39 -0700</date>
            <delta_ts>2011-07-27 14:12:03 -0700</delta_ts>
            <desc>use monotonicallyIncreasingTime rather than currentTime to update animations</desc>
            <filename>bug-65282-20110727140638.patch</filename>
            <type>text/plain</type>
            <size>2335</size>
            <attacher name="Scott Graham">scottmg</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTE4NjQKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb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UaW1lQ29udGFpbmVy
OjpiZWdpbigpCiB7CiAgICAgQVNTRVJUKCFtX2JlZ2luVGltZSk7Ci0gICAgbV9iZWdpblRpbWUg
PSBjdXJyZW50VGltZSgpOworICAgIG1fYmVnaW5UaW1lID0gbW9ub3RvbmljYWxseUluY3JlYXNp
bmdUaW1lKCk7CiAgICAgdXBkYXRlQW5pbWF0aW9ucygwKTsKIH0KIApAQCAtMTA3LDcgKzEwNyw3
IEBAIHZvaWQgU01JTFRpbWVDb250YWluZXI6OnBhdXNlKCkKICAgICBpZiAoIW1fYmVnaW5UaW1l
KQogICAgICAgICByZXR1cm47CiAgICAgQVNTRVJUKCFpc1BhdXNlZCgpKTsKLSAgICBtX3BhdXNl
VGltZSA9IGN1cnJlbnRUaW1lKCk7CisgICAgbV9wYXVzZVRpbWUgPSBtb25vdG9uaWNhbGx5SW5j
cmVhc2luZ1RpbWUoKTsKICAgICBtX3RpbWVyLnN0b3AoKTsKIH0KIApAQCAtMTE2LDcgKzExNiw3
IEBAIHZvaWQgU01JTFRpbWVDb250YWluZXI6OnJlc3VtZSgpCiAgICAgaWYgKCFtX2JlZ2luVGlt
ZSkKICAgICAgICAgcmV0dXJuOwogICAgIEFTU0VSVChpc1BhdXNlZCgpKTsKLSAgICBtX2FjY3Vt
dWxhdGVkUGF1c2VUaW1lICs9IGN1cnJlbnRUaW1lKCkgLSBtX3BhdXNlVGltZTsKKyAgICBtX2Fj
Y3VtdWxhdGVkUGF1c2VUaW1lICs9IG1vbm90b25pY2FsbHlJbmNyZWFzaW5nVGltZSgpIC0gbV9w
YXVzZVRpbWU7CiAgICAgbV9wYXVzZVRpbWUgPSAwOwogICAgIHN0YXJ0VGltZXIoMCk7CiB9Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>102183</attachid>
            <date>2011-07-27 14:12:08 -0700</date>
            <delta_ts>2011-07-27 23:46:13 -0700</delta_ts>
            <desc>use monotonicallyIncreasingTime rather than currentTime to update animations</desc>
            <filename>bug-65282-20110727141207.patch</filename>
            <type>text/plain</type>
            <size>2341</size>
            <attacher name="Scott Graham">scottmg</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTE4NjQKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwppbmRleCAxOTYyNGY3N2U0NmY3MDI5
YjI0YmJjNDRhZTA4OGIyMGUxZWVhNTQ5Li5lMmQ0NjI3NDI2OWExZjgxMzZjZjYxZjRiMjc3Mjk4
OThlZjQ5NWJhIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvU291
cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTkgQEAKKzIwMTEtMDctMjcgIFNjb3R0
IEdyYWhhbSAgPHNjb3R0bWdAZ29vZ2xlLmNvbT4KKworICAgICAgICBTTUlMVGltZUNvbnRhaW5l
ciB1c2luZyBjdXJyZW50VGltZSBmb3IgYW5pbWF0aW9ucworICAgICAgICBodHRwczovL2J1Z3Mu
d2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NjUyODIKKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICBObyBuZXcgdGVzdHMsIGV4aXN0aW5nIHRlc3RzIHNo
b3VsZCBwbGF5IGNvcnJlY3RseSB3aGVuIHN5c3RlbSBjbG9jaworICAgICAgICBjaGFuZ2VkLgor
CisgICAgICAgICogc3ZnL2FuaW1hdGlvbi9TTUlMVGltZUNvbnRhaW5lci5jcHA6CisgICAgICAg
IChXZWJDb3JlOjpTTUlMVGltZUNvbnRhaW5lcjo6ZWxhcHNlZCk6CisgICAgICAgIChXZWJDb3Jl
OjpTTUlMVGltZUNvbnRhaW5lcjo6YmVnaW4pOgorICAgICAgICAoV2ViQ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HN0YXJ0VGltZXIoMCk7
CiB9Cg==
</data>
<flag name="review"
          id="97359"
          type_id="1"
          status="-"
          setter="krit"
    />
          </attachment>
      

    </bug>

</bugzilla>