Created attachment 420187 [details]
A simple page (45 lines) to repro the issue
Safari version 14
What steps will reproduce the problem?
(1) Open the attached HTML repro case (45 lines total)
(2) Optional: observe the sequence of events in the dev console logs
What is the expected result?
The repro page will insert two cues (1-2s and 2-3s), then seek to exactly 2s.
Only one cue should be displayed at time 2s (the second one).
What happens instead?
In Chrome/Edge 88 and Safari 14, both are displayed at once. In Firefox 84, only the second cue is displayed (correct behavior).
It recently was pointed out to us in Shaka Player that our DOM-UI-based cue display got this wrong, too. The fix turned out to be a single character (> instead of >=). You may find something similar in WebKit. https://github.com/google/shaka-player/pull/3152/files
Corresponding Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1178026
Thanks for the report Joey!
Happy to help! Thanks for taking a look.
Pull request: https://github.com/WebKit/WebKit/pull/694
Committed r295647 (251652@main): <https://commits.webkit.org/251652@main>
Reviewed commits have been landed. Closing PR #694 and removing active labels.