Some websites escape the corner clip from bug 1908471
Categories
(Core :: Graphics: WebRender, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr128 | --- | unaffected |
firefox133 | --- | unaffected |
firefox134 | --- | unaffected |
firefox135 | --- | fix-optional |
People
(Reporter: emilio, Unassigned)
References
(Blocks 1 open bug, 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•10 days 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.
Updated•10 days ago
|
Comment 2•10 days 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•10 days ago
|
||
Example fix in progress
Updated•10 days ago
|
Updated•10 days ago
|
Updated•10 days ago
|
Comment 4•10 days 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•9 days 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•9 days 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•9 days 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•6 days ago
|
Updated•6 days ago
|
Updated•4 days ago
|
Updated•4 days ago
|
Comment 8•3 days ago
|
||
We'll be evaluating this type of thing when we discuss sidebar needs with Sarah in Q1 2025.
Description
•