Bug 201234

Summary: REGRESSION (Safari 13): webkit-backdrop-filter sometimes leaving empty space between border
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, bfulgham, crisscross.kaindl, dino, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=201239
Attachments:
Description Flags
wrong
none
right
none
invalid-border-with-backdrop-filter.html
none
backdrop-filter rendering bug with box-shadow
none
backdrop-filter bug on quantargo.com none

Jonathan Bedard
Reported 2019-08-28 13:58:30 PDT
Created attachment 377475 [details] wrong This is probably an issue with sub-pixel layout, it's also a relatively recent regression (last month or 2, although we don't have a test for this and I haven't been paying attention to exactly when it regressed). I was able to reproduce the problem on r248867. The specific css causing this bug is: .tooltip-content { z-index: 50; position: absolute; -webkit-backdrop-filter: blur(10px) brightness(88%); backdrop-filter: blur(10px) brightness(88%); color: var(--boldInverseColor); border: 1px solid #ccc; border-radius: 5px; padding: 5px; font-size: var(--smallSize); list-style: none; max-width: 600px; } I'll attach a screenshot of one of these tooltip behaving correctly and incorrectly.
Attachments
wrong (58.93 KB, image/png)
2019-08-28 13:58 PDT, Jonathan Bedard
no flags
right (76.33 KB, image/png)
2019-08-28 13:58 PDT, Jonathan Bedard
no flags
invalid-border-with-backdrop-filter.html (506 bytes, text/html)
2019-08-28 16:51 PDT, Jonathan Bedard
no flags
backdrop-filter rendering bug with box-shadow (401.65 KB, image/png)
2020-04-24 10:30 PDT, Christian Kaindl
no flags
backdrop-filter bug on quantargo.com (364.77 KB, image/png)
2020-04-24 10:34 PDT, Christian Kaindl
no flags
Jonathan Bedard
Comment 1 2019-08-28 13:58:51 PDT
Simon Fraser (smfr)
Comment 2 2019-08-28 15:07:29 PDT
Can you attach an HTML file that shows the issue?
Jonathan Bedard
Comment 3 2019-08-28 16:51:55 PDT
Created attachment 377512 [details] invalid-border-with-backdrop-filter.html
Radar WebKit Bug Importer
Comment 4 2019-08-30 09:31:04 PDT
Christian Kaindl
Comment 5 2020-04-24 10:30:07 PDT
Created attachment 397467 [details] backdrop-filter rendering bug with box-shadow This issue is not only present with border-radius, but also when applying a box-shadow to the element. The backdrop-filter is offset by the size of the blur radius in addition to the offset by border-width. In the attachment I only added a box-shadow to Jonathan's HTML attachment, which makes the bug very visible. This very much impacts our website right now (quantargo.com), because any element with backdrop-filter that also has a shadow looks broken on iOS (Chrome, and Firefox with the `layout.css.backdrop-filter.enabled` flag, work correctly).
Christian Kaindl
Comment 6 2020-04-24 10:34:31 PDT
Created attachment 397468 [details] backdrop-filter bug on quantargo.com Attached is also a screenshot our production website at https://www.quantargo.com/courses/course-r-introduction/01-basics/01-r-is-everywhere/exercise-01-01-03 You can clearly see areas to the left and at the top of the popup where the effect is not applied.
Simon Fraser (smfr)
Comment 7 2020-04-24 11:41:48 PDT
Please test in STP 105 *** This bug has been marked as a duplicate of bug 208070 ***
Christian Kaindl
Comment 8 2020-04-24 12:22:13 PDT
Thanks for your fast response. Tested in Safari Tech Preview and it is indeed fixed. Thanks!
Note You need to log in before you can comment on or make changes to this bug.