Bug 228191 - [Modern Media Controls] [macOS] Only show total duration when the elapsed time is visible
Summary: [Modern Media Controls] [macOS] Only show total duration when the elapsed tim...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-22 12:42 PDT by Devin Rousso
Modified: 2021-07-23 04:39 PDT (History)
10 users (show)

See Also:


Attachments
Patch (13.48 KB, patch)
2021-07-22 12:48 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2021-07-22 12:42:41 PDT
When the `<video>` is narrow (~250px) we will drop the elapsed time, meaning that only the scrubber and duration are visible.  It's not very helpful to show the duration in this scenario since it never changes.
Comment 1 Devin Rousso 2021-07-22 12:43:04 PDT
<rdar://problem/80529918>
Comment 2 Devin Rousso 2021-07-22 12:48:37 PDT
Created attachment 434028 [details]
Patch
Comment 3 EWS 2021-07-23 04:39:43 PDT
Committed r280242 (239910@main): <https://commits.webkit.org/239910@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 434028 [details].