Bug 255701 - REGRESSION (Safari 16.4?): SVG clip-path failing with backdrop-filter as of iOS ~16.4.1
Summary: REGRESSION (Safari 16.4?): SVG clip-path failing with backdrop-filter as of i...
Status: RESOLVED DUPLICATE of bug 255577
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-19 19:34 PDT by Ricky Romero
Modified: 2023-04-24 23:19 PDT (History)
5 users (show)

See Also:


Attachments
Two screenshots, one displaying the correct behavior on iOS 16.3.1, and the broken behavior on 16.4.1. (7.89 MB, application/zip)
2023-04-19 19:34 PDT, Ricky Romero
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricky Romero 2023-04-19 19:34:58 PDT
Created attachment 465996 [details]
Two screenshots, one displaying the correct behavior on iOS 16.3.1, and the broken behavior on 16.4.1.

My professional portfolio, https://hello.rickyromero.com, uses an SVG clip path in combination with CSS filters on the logo graphic. It uses these to subtly change the logo's color on top of its animated background.

On iOS 16.3.1 and previous releases, this effect works great. However, as of iOS 16.4 or 16.4.1, the effect no longer displays correctly. The CSS filters themselves work, but the effect is no longer clipped to my logo's shape by the SVG on the page. This results in a strange rectangle appearing at the top of the page. I've attached screenshots of the bug; both phones are the iPhone 13 Pro.

This issue isn't present on macOS Ventura 13.3.1. It also doesn't appear in Firefox 112 or Chrome 112.

---

This is the relevant CSS:
https://github.com/RickyRomero/hello.rickyromero.com/blob/main/styles/home.module.css#L78-L83

And here is the corresponding JSX markup (The SVG is included further down the page):
https://github.com/RickyRomero/hello.rickyromero.com/blob/main/pages/index.js#L198-L200
Comment 1 Radar WebKit Bug Importer 2023-04-23 14:39:02 PDT
<rdar://problem/108430331>
Comment 2 Said Abou-Hallawa 2023-04-24 23:19:54 PDT
I verified this bug is fixed by the fix of bug 255577.

*** This bug has been marked as a duplicate of bug 255577 ***