[Webkit-unassigned] [Bug 227112] New: Adding a class to an element with pointer-events: none does result in a color change
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 17 01:21:42 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=227112
Bug ID: 227112
Summary: Adding a class to an element with pointer-events: none
does result in a color change
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 11
Status: NEW
Severity: Minor
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: victor.sheyanov at gmail.com
When element has a class with `color: any`, adding a new class with another color and `pointer-events: none` (disabling button), does not result in a text color change.
https://codepen.io/vsheyanov/pen/PopVGWB
Reproduced: Safari 14.1.1 (16611.2.7.1.4)
Not reproduced: Safari 14.0.3, Chrome
In the CodePen above clicking the button should change button color, but it does not change.
But, if you click it once (color should be changed) and hover over the button, color will change. So basically hovering over the button paints correct color.
https://prnt.sc/15oryff
--
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/20210617/bb60904c/attachment.htm>
More information about the webkit-unassigned
mailing list