Bug 178600

Summary: Captions move when <video> with no controls is hovered
Product: WebKit Reporter: Hussam <h.ghazzi>
Component: MediaAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, eric.carlson, graouts, jeremyj-wk, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: Mac   
OS: macOS 10.12.4   
Attachments:
Description Flags
Test Page
none
Patch none

Description Hussam 2017-10-20 13:03:32 PDT
Created attachment 324436 [details]
Test Page

When captions are displayed and controls are disabled, the position of the captions behaves the same way as if the controls were still there, moving up on hover or pause.

Reproduction Steps: 

1. Load test page (attached)
2. Ensure captions are enabled
3. When the cursor is not over the video player, the captions will be displayed at the bottom of the player

Expected: When hovering over the video player, the captions will continue to be displayed at the bottom of the player
Actual: When hovering over the video player, the captions will display 37px above the bottom of the player, the height of the control bar
Comment 1 Radar WebKit Bug Importer 2017-10-21 16:12:48 PDT
<rdar://problem/35112309>
Comment 2 Antoine Quint 2017-11-24 09:43:09 PST
Created attachment 327553 [details]
Patch
Comment 3 WebKit Commit Bot 2017-11-24 11:27:26 PST
Comment on attachment 327553 [details]
Patch

Clearing flags on attachment: 327553

Committed r225138: <https://trac.webkit.org/changeset/225138>
Comment 4 WebKit Commit Bot 2017-11-24 11:27:27 PST
All reviewed patches have been landed.  Closing bug.