Bug 228191

Summary: [Modern Media Controls] [macOS] Only show total duration when the elapsed time is visible
Product: WebKit Reporter: Devin Rousso <hi>
Component: MediaAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, hi, jer.noble, joepeck, peng.liu6, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=221364
Attachments:
Description Flags
Patch none

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].