[Webkit-unassigned] [Bug 279740] New: "inherit" as variable substitution fallback not working when setting custom property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 15 14:07:38 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=279740
Bug ID: 279740
Summary: "inherit" as variable substitution fallback not
working when setting custom property
Product: WebKit
Version: Safari 17
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jeffery.to at gmail.com
CC: koivisto at iki.fi
Created attachment 472568
--> https://bugs.webkit.org/attachment.cgi?id=472568&action=review
Test case
When a custom property is set like:
--color: var(--unknown, inherit);
the custom property does not inherit the correct value.
Steps to reproduce:
1. Open attached test case.
Expected result:
A 10px green border is shown.
Actual result:
A 10px border with the default colour is shown.
Tested with:
* Safari 17.6 (19618.3.11.11.5) on macOS Sonoma 14.6.1 (MacBook Pro 16-inch, M3 Max)
* Safari on iOS 17.6.1 (iPhone 15)
* Safari on iPadOS 17.6.1 (iPad Pro 13-inch, M4)
* Epiphany 46.0 on Ubuntu 24.04 (libwebkitgtk 2.44.3)
Works on Chrome and Firefox.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240915/11e0dd2c/attachment.htm>
More information about the webkit-unassigned
mailing list