Video tag with object-fit and sizes defined are overflowed if `overflow:hidden` is defined
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox148 | --- | wontfix |
| firefox149 | --- | verified |
| firefox150 | --- | verified |
People
(Reporter: florian.sommariva, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0
Steps to reproduce:
Styling the <video> tag by setting the dimensions (for example: height: 50vh;width: 100%;), an object-fit: cover, and an overflow:hidden displays the video AND the hidden part that should be cropped.
Actual results:
With the overflow:hidden property, the video is overflowed and the overflowed part is displaying behind the following HTML markup
Without the overflow:hidden it's ok.
Expected results:
The overflow:hidden crops the video correctly. This bug occurs since Firefox 148.
Comment 1•21 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•14 days ago
|
||
Hey Daniel, trying to determine if this is css, media (video element) or rendering. Curious if you can help triage this one?
Comment 3•10 days ago
|
||
I think it belongs in Layout. mozregression indicates that this is a pretty recent regression, from emilio's work in bug 1999100:
--> ni=emilio
Comment 4•10 days ago
|
||
Set release status flags based on info from the regressing bug 1999100
Updated•9 days ago
|
| Assignee | ||
Comment 5•9 days ago
|
||
Updated•9 days ago
|
| Assignee | ||
Updated•9 days ago
|
Comment 8•8 days ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox149towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•8 days ago
|
Comment 9•8 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Trivial compat regression
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: comment 0
- Risk associated with taking this patch: low
- Explanation of risk level: One liner.
- String changes made/needed?: none
- Is Android affected?: yes
| Assignee | ||
Comment 10•8 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D287950
Comment 11•8 days ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: Trivial compat regression
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: comment 0
- Risk associated with taking this patch: low
- Explanation of risk level: One liner.
- String changes made/needed?: none
- Is Android affected?: yes
| Assignee | ||
Comment 12•8 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D287950
Comment 13•8 days ago
|
||
Comment on attachment 9553636 [details]
Bug 2020992 - video should interpret scrollable overflow as clip.
Rejecting release uplift request. Fx149 merges to release tomorrow, we don't have a Fx148 dot release before then.
Updated•8 days ago
|
Updated•8 days ago
|
Updated•8 days ago
|
Comment 14•8 days ago
|
||
| uplift | ||
Updated•7 days ago
|
Comment 17•7 days ago
|
||
Reproduced the issue on Win11x64/Ubuntu 24.04 using Firefox build 148.0.2
Verified as fixed on Win11x64/Ubuntu24.04 using Firefox builds 150.0a1.
Bug did not reached 149.0b9 as it is still reproducing and it got rejected based on comment#13.
Comment 18•6 days ago
|
||
Verified issue as fixed on Ubuntu 24.04/Win11x64 using Firefox RC build 149.0(20260318190823).
Description
•