Some websites escape the corner clip from bug 1908471 (due to backdrop-filter)
Categories
(Core :: Graphics: WebRender, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr128 | --- | unaffected |
| firefox133 | --- | unaffected |
| firefox134 | --- | unaffected |
| firefox135 | --- | wontfix |
People
(Reporter: emilio, Assigned: gw)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
E.g. https://developer.apple.com/ escapes the corner, so does zoom video calls.
I bet it has to do with backdrop-filter because https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter shows it but https://developer.mozilla.org/ doesn't.
Comment 1•1 year ago
|
||
Set release status flags based on info from the regressing bug 1908471
:nsharpley, since you are the author of the regressor, bug 1908471, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•1 year ago
|
Comment 2•1 year ago
•
|
||
That's interesting! You're right, it looks like backdrop-filter doesn't respect the overflow: hidden rule of the parent browser and paints above it?...
I'm working on a solution similar to the snippet Markus posted in bug 1908471, comment 5. We might be able to use a mask, though it gets complicated with using the toolbar background... see attachment
Comment 3•1 year ago
|
||
Example fix in progress
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
In bug 1908471 we used a border-radius, however some website use backdrop-filter for their
background which doesn't respect the overflow: hidden rule we added with the border-radius.
Using a neighbouring element as a mask resolves that issue.
WIP - still need to get IntersectionObserver working and update based on tabbrowser-tabbox
position and need to get mask appearance working for RTL mode and when the sidebar is positioned
at the end.
Comment 5•1 year ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #0)
E.g. https://developer.apple.com/ escapes the corner, so does zoom video calls.
I bet it has to do with backdrop-filter because https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter shows it but https://developer.mozilla.org/ doesn't.
Emilio, is this something that can be fixed on the core side?
| Reporter | ||
Comment 6•1 year ago
|
||
Ideally, yes. This seems clearly like a WebRender bug to me (that's why I filed it here rather than in the sidebar component)... Not familiar enough with our backdrop-filter implementation to know whether this can be fixed easily or not. But in any case if we decide to move to a mask I'd do it in a dependent bug (as this bug would still be valid).
Glenn do you know off-hand what might be going on? In order to see this, you can flip sidebar.revamp=true on Nightly.
Comment 7•1 year ago
|
||
I dont know if this relevant or not if not please ignore but I always used from this code for rounded browser frame and it never had any issues, I tried the linked websites and it looks fine.
https://github.com/KiKaraage/ArcWTF/blob/main/global/browser.css
The only lines I removed was 115-117 as it was causing pixelate corners.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 8•1 year ago
|
||
We'll be evaluating this type of thing when we discuss sidebar needs with Sarah in Q1 2025.
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Hi!
I just want to add my 2 cents here:
Applying mix-blend-mode: multiply; to the tabbrowser-tabpanels seems to also replicate what overflow: clip does. This seems to work better than clip-path as well.
| Reporter | ||
Updated•11 months ago
|
Comment 14•3 months ago
|
||
The problem seemed to be addressed with latest nightly.
:emilio, can you check if the problem is addressed?
With the following command, Bug 1955501 might address the problem.
./mach mozregression --find-fix --bad 2024-12-01 --pref sidebar.revamp:true -a https://developer.mozilla.org/ja/docs/Web/CSS/Reference/Properties/backdrop-filter
| Reporter | ||
Comment 15•3 months ago
|
||
That sounds believable. I haven't seen this recently either.
Updated•26 days ago
|
Description
•