Bug 257523 - audio player time remainder/spent are oscillating when CSS width has been specified
Summary: audio player time remainder/spent are oscillating when CSS width has been spe...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL: https://www.nyan.cat/index.php?cat=or...
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-05-30 21:21 PDT by Karl Dubost
Modified: 2023-05-31 15:51 PDT (History)
2 users (show)

See Also:


Attachments
testcase (409 bytes, text/html)
2023-05-30 21:21 PDT, Karl Dubost
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-05-30 21:21:40 PDT
Created attachment 466541 [details]
testcase

1. With Safari Tech Preview 170
2. Go to data:text/html,<!doctype%20html><audio%20controls=""%20autoplay=""%20loop=""%20style="width:240px;"><source%20src="https://www.nyan.cat/music/original.mp3"></audio>
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.

<audio controls=""
       autoplay=""
       loop=""
       style="width:240px;">

Reported originally on https://github.com/webcompat/web-bugs/issues/122785
Comment 1 Radar WebKit Bug Importer 2023-05-30 21:21:51 PDT
<rdar://problem/110043258>
Comment 2 Tim Horton 2023-05-31 15:25:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14560
Comment 3 EWS 2023-05-31 15:51:38 PDT
Committed 264760@main (9add6861de2a): <https://commits.webkit.org/264760@main>

Reviewed commits have been landed. Closing PR #14560 and removing active labels.