Bug 238567

Summary: REGRESSION (r290770): Hulu fullscreen breaks when rewinding
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bfulgham, rbuis, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=237189
https://bugs.webkit.org/show_bug.cgi?id=238985

Description Simon Fraser (smfr) 2022-03-30 12:13:27 PDT
Steps to Reproduce:
1. Launch Safari, Navigate to Hulu.com
2. Play any title
3. Click settings on Hulu player then click rewind/forward 10 seconds

Expected Results:
Player to stay in the same spot after clicking on multiple settings

Actual Results:
Player shifts to the left and user is able to see Hulu homepage

<rdar://90985370>
Comment 1 Rob Buis 2022-03-31 14:27:52 PDT
It seems this needs a Hulu account to repro, which I do not have. Can we have a reduced test case?
Comment 2 Simon Fraser (smfr) 2022-04-04 22:37:01 PDT
The <div class="Player__container addFocus" tabindex="0" aria-hidden="false" aria-label="Video Player" role="region" style="display: block;"> element has overflow:hidden, but is getting a non-zero scrollLeft, maybe via a focus call. I'm not sure why we allow overflow:hidden to scroll for focus.
Comment 3 Rob Buis 2022-04-08 12:11:46 PDT
Possibly the patch for https://bugs.webkit.org/show_bug.cgi?id=238985 fixes this.
Comment 4 Simon Fraser (smfr) 2022-04-11 09:56:09 PDT
I can test. Something that did surprise me was that we seem to be scrolling-into-view inside overflow:hidden. Not sure if that's intentional.
Comment 5 Simon Fraser (smfr) 2022-06-23 10:15:41 PDT
That patch did fix this.

*** This bug has been marked as a duplicate of bug 238985 ***