New issue
Advanced search Search tips

Issue 856676 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 837208
Owner: ----
Closed: Jul 6
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Video player controls menu list positioning is being effected by parent css transform

Reported by sal....@appitierre.com, Jun 26 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. Add a css transform to the parent element containing the video eg:```body { transform: translate(0, 0) }```
2. Click the menu options (...)
3. Menu options will not appear in correct position, in some cases will scroll you to the bottom of the page

What is the expected behavior?
Menu options should appear in correct position even if parent element has css transforms applied

What went wrong?
I believe this is due to the -internal-media-controls-overflow-menu-list element having a css position fixed. This means the element is not being positioned relative to the window but to the closest parent element with the css transform applied. 

While this is layout behaviour is in line with the css transform spec, I can imagine not being allowed to use a video element inside a parent with transforms is going to break a fair amount of websites. Have confirmed that clicking on the video options button in Slack's web app causes the whole page to scroll somewhere seemingly random.

Did this work before? Yes 66

Does this work in other browsers? Yes

Chrome version: 67.0.3396.99  Channel: stable
OS Version: OS X 10.13.5
Flash Version: 

Using position absolute on -internal-media-controls-overflow-menu-list fixes the issue. Have tried to select this via CSS but nothing seems to work.
 
Labels: Needs-Bisect Needs-Triage-M67

Comment 2 by sdy@chromium.org, Jun 26 2018

Components: Blink>Media>Video
[Mac triage] Could you please upload a test case (as an html file)?

Comment 3 by woxxom@gmail.com, Jun 26 2018

Uhm, the description is pretty self-evident and trivial to reproduce.
Not sure why a test case is needed, but here it goes.
test.html
349 bytes View Download
The test case above is exactly the issue I have described. Thank you woxxom for making the test file.
Cc: viswa.karala@chromium.org
Labels: -Needs-Bisect -Type-Bug-Regression Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Windows Type-Bug
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on chrome reported version 67.0.3396.99 and latest chrome 69.0.3473.0 using Mac 10.13.5, Windows-10 and Ubuntu 14.04. This issue is seen from introduction of #modern-media-controls flag enabled from M-64 milestone. Hence considering this issue as Non-Regression and marking it as Untriaged.

Thanks!
Components: -Blink>Media>Video Blink>Media>Controls
Mergedinto: 837208
Status: Duplicate (was: Untriaged)
It seems to be a duplicate of  bug 837208 .

Sign in to add a comment