WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
289800
-webkit-backdrop-filter ignores css variables
https://bugs.webkit.org/show_bug.cgi?id=289800
Summary
-webkit-backdrop-filter ignores css variables
krabodyan
Reported
2025-03-14 10:34:47 PDT
--blur-size: 8px; --blur: blur(var(--blur-size)); -webkit-filter: var(--blur); /* works */ -webkit-filter: blur(var(--blur-size)); /* works */ -webkit-backdrop-filter: blur(8px); /* works */ -webkit-backdrop-filter: var(--blur); /* dont work */ -webkit-backdrop-filter: blur(var(--blur-size)); /* dont work */ in devtools -webkit-backdrop-filter is marked as applied and the value of variables is displayed, but there is no blur effect itself. -webkit-filter works properly with the same variables. Chromium, FIrefox, etc does not have this problem. Bug persist in Tauri 2.0 app built with webkitgtk_4_1 version 2.46.6 from nixos unstable Same app built on windows does not have this bug
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-03-21 10:35:34 PDT
<
rdar://problem/147591500
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug