Open Bug 2061066 Opened 29 days ago Updated 7 days ago

Embeded YouTube video on Google search has gray sidebar in fullscreen

Categories

(Web Compatibility :: Site Reports, defect, P2)

Tracking

(Webcompat Priority:P2, Webcompat Score:6)

Webcompat Priority P2
Webcompat Score 6

People

(Reporter: jrmuizel, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: webcompat:platform-bug, webcompat:site-report, Whiteboard: [autowebcompat:processed][autowebcompat:repro-failed][webcompat:sightline][webcompat:japan][webcompat:core])

User Story

autowebcompat-repro-status:failed
autowebcompat-repro-reason:blocked_captcha
platform:windows,mac,linux
impact:content-missing
configuration:general
affects:all
branch:release
diagnosis-team:layout
user-impact-score:450

Attachments

(4 files, 1 obsolete file)

Component: Report Broken Site → Site Reports
Product: Firefox → Web Compatibility
Whiteboard: [autowebcompat:processed]
User Story: (updated)
Whiteboard: [autowebcompat:processed] → [autowebcompat:processed][autowebcompat:repro-failed]
Whiteboard: [autowebcompat:processed][autowebcompat:repro-failed] → [autowebcompat:processed][autowebcompat:repro-failed][webcompat:sightline][webcompat:japan][webcompat:core]
Severity: -- → S3
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 6
Priority: -- → P2
User Story: (updated)
User Story: (updated)

Jeff confirmed that "Always Show Scrollbars" off "fixes" it.

Attachment #9625711 - Attachment mime type: text/plain → text/html

Safari has the same behaviour as Chrome on the reduced test case

So Chrome's video is also the wrong size, but they paint black instead of white. Looking a bit more into it, I think this test-case shows the root cause of the disagreement:

  • Chrome: backdrop covering the scrollbar gutter, iframe constrained by the gutter.
  • Safari: backdrop covering the scrollbar gutter, iframe also covering the gutter.
  • Gecko: backdrop and iframe both constrained by the gutter.

So it seems like Chrome's backdrop (but not the fixed-pos) is covering the scrollbar gutter... I'm not sure what really justifies that behavior spec-wise... Ting-Yu, do you know?

If not, it might be worth filing an issue. At least for a fullscreen <iframe> constraining it to the scrollbar gutter seems a bit unfortunate...

Flags: needinfo?(aethanyc)

Oh, actually safari has the backdrop not covering the gutter, but the iframe covering it.

This is a variant of bug 1874091. Previous solution is:

RESOLVED: (top layer or fullscreen) elements with 'position: fixed' cover the scrollbars/gutters

But the spec didn't say what to do for top layer (::backdrop) elements without position:fixed.

Also, Chromium has a bug https://issues.chromium.org/issues/346550123

Flags: needinfo?(aethanyc)
See Also: → 1874091
Depends on: 1874091
See Also: 1874091

(And all browsers are broken in different ways, amazingly)

But ::backdrop is fixed right? https://searchfox.org/firefox-main/rev/ee8e457ae20efb27313476fed0bed50571c1199f/layout/style/res/ua.css#409

You're right. I must have mixed it with something else ...

(In reply to Emilio Cobos Álvarez [:emilio] from comment #9)

So I think this is effectively bug 1874091 indeed.

Let's consider this diagnosed as that platform-bug then. --> Adjusting keywords.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: