Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 886194c45df18442d88de9cb1839c66694ff1956
      
https://github.com/WebKit/WebKit/commit/886194c45df18442d88de9cb1839c66694ff1956
  Author: Nipun Shukla <[email protected]>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    A 
LayoutTests/media/modern-media-controls/time-control/time-control-loading-indicator-layout-expected.txt
    A 
LayoutTests/media/modern-media-controls/time-control/time-control-loading-indicator-layout.html
    M 
Source/WebCore/Modules/modern-media-controls/controls/activity-indicator.css

  Log Message:
  -----------
  Media controls loading indicator overlaps playhead while WebKit bug 
attachment is loading
https://bugs.webkit.org/show_bug.cgi?id=313471
rdar://174394222

Reviewed by Jer Noble.

The activity indicator's position: absolute removed it from the flex flow
inside .time-control, so the scrubber's flex-grow reclaimed the slot it
should have occupied and put the activity indicator directly on top of the
scrubber.

This change modifies the indicator to position: relative which lets it
participate as a flex item, stopping the indicator from overlapping
with the playhead.

Test: 
media/modern-media-controls/time-control/time-control-loading-indicator-layout.html

* 
LayoutTests/media/modern-media-controls/time-control/time-control-loading-indicator-layout-expected.txt:
 Added.
* 
LayoutTests/media/modern-media-controls/time-control/time-control-loading-indicator-layout.html:
 Added.
* Source/WebCore/Modules/modern-media-controls/controls/activity-indicator.css:
(.activity-indicator):

Canonical link: https://commits.webkit.org/312291@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to