Bug 178600 - Captions move when <video> with no controls is hovered
Summary: Captions move when <video> with no controls is hovered
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 11
Hardware: Mac macOS 10.12.4
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-20 13:03 PDT by Hussam
Modified: 2017-11-24 11:27 PST (History)
7 users (show)

See Also:


Attachments
Test Page (510 bytes, text/html)
2017-10-20 13:03 PDT, Hussam
no flags Details
Patch (8.73 KB, patch)
2017-11-24 09:43 PST, Antoine Quint
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.