[Webkit-unassigned] [Bug 238088] New: `<button>` loses background color with certain styles applied
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 18 12:04:30 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=238088
Bug ID: 238088
Summary: `<button>` loses background color with certain styles
applied
Product: WebKit
Version: Safari 15
Hardware: Mac (Apple Silicon)
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jordan at cryptica.me
Created attachment 455123
--> https://bugs.webkit.org/attachment.cgi?id=455123&action=review
An HTML file that reproduces the bug
In Safari 15.4 on macOS and iOS 15.4 and all the way up to the latest webkit build archive (from an hour-ish ago) a `<button>` element will lose it's background under the following condition:
1. It has an opacity less than 1.0
2. It has a transparent border color (or something that resolves to transparent like rgb(0 0 0 / 0).
3. It has a flex, inline-flex, grid, or inline-grid display value.
4. It has a non-zero border radius.
This does *not* happen for `<div>` elements — just `<button>` as far as I can tell.
I tested this in Safari 15.3 on macOS and the styling works as expected. I've attached an HTML file that reproduces this bug.
My guess is it's caused by a commit somewhere between the tags Safari-612.4.9.1.8 and Safari-613.1.17.1.8 (I'm going off the tags on GitHub for that one)
--
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/20220318/045b437f/attachment.htm>
More information about the webkit-unassigned
mailing list