<?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>257523</bug_id>
          
          <creation_ts>2023-05-30 21:21:40 -0700</creation_ts>
          <short_desc>audio player time remainder/spent are oscillating when CSS width has been specified</short_desc>
          <delta_ts>2023-05-31 15:51:41 -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>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://www.nyan.cat/index.php?cat=original</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Tim Horton">thorton</assigned_to>
          <cc>jer.noble</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1958948</commentid>
    <comment_count>0</comment_count>
      <attachid>466541</attachid>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-05-30 21:21:40 -0700</bug_when>
    <thetext>Created attachment 466541
testcase

1. With Safari Tech Preview 170
2. Go to data:text/html,&lt;!doctype%20html&gt;&lt;audio%20controls=&quot;&quot;%20autoplay=&quot;&quot;%20loop=&quot;&quot;%20style=&quot;width:240px;&quot;&gt;&lt;source%20src=&quot;https://www.nyan.cat/music/original.mp3&quot;&gt;&lt;/audio&gt;
3. Click on the Play Button

Result: notice how the time spent and remaining is oscillating. 
This happens only when style is specified on the audio element.

&lt;audio controls=&quot;&quot;
       autoplay=&quot;&quot;
       loop=&quot;&quot;
       style=&quot;width:240px;&quot;&gt;

Reported originally on https://github.com/webcompat/web-bugs/issues/122785</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1958949</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-30 21:21:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/110043258&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959167</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2023-05-31 15:25:29 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/14560</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959180</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-31 15:51:38 -0700</bug_when>
    <thetext>Committed 264760@main (9add6861de2a): &lt;https://commits.webkit.org/264760@main&gt;

Reviewed commits have been landed. Closing PR #14560 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>466541</attachid>
            <date>2023-05-30 21:21:40 -0700</date>
            <delta_ts>2023-05-30 21:21:40 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>audio-testcase.html</filename>
            <type>text/html</type>
            <size>409</size>
            <attacher name="Karl Dubost">karlcow</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CiAgICA8bWV0YSBjaGFyc2V0
PSJVVEYtOCI+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJYLVVBLUNvbXBhdGlibGUiIGNvbnRlbnQ9
IklFPWVkZ2UiPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmlj
ZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xLjAiPgogICAgPHRpdGxlPlRlc3QgQXVkaW8gUGxheWVy
IHdpdGggQ1NTIHdpZHRoPC90aXRsZT4KPC9oZWFkPgo8Ym9keT4KICAgIDxhdWRpbyBjb250cm9s
cz0iIiBhdXRvcGxheT0iIiBsb29wPSIiIHN0eWxlPSJ3aWR0aDoyNDBweDsiPjxzb3VyY2Ugc3Jj
PSJodHRwczovL3d3dy5ueWFuLmNhdC9tdXNpYy9vcmlnaW5hbC5tcDMiPjwvYXVkaW8+CjwvYm9k
eT4KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>