Backplate background color does not transition properly
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: ntim, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
436 bytes,
text/html
|
Details |
STR:
- Enable High contrast mode (the testcase does nothing without it, since initial = transparent, as opposed to ButtonFace on HCM)
- Open testcase (you'll need to make sure the ButtonFace color differs from your chosen background-color, though this should be default on macOS)
- Hover over the button
AR:
the backplate background transitions abruptly at the end, while the button background transitions properly according to the easing function
ER:
Both should transition the same way
morgan pointed out this bit of code probably needs changing:
https://searchfox.org/mozilla-central/source/layout/generic/nsBlockFrame.cpp#223
Reporter | ||
Comment 1•5 years ago
•
|
||
Hmm, bug 1624655 will probably break the current testcase...
EDIT: or maybe not, since the widget doesn't use native theming.
Comment 2•5 years ago
|
||
Posted this on Matrix, but just for reference: I think the issue is that the background-color animation runs on the compositor these days, so we don't even hit that code easiest fix would be to block background-color animations to run on the compositor if in hcm or something, I suspect.
Comment 3•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3
(Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3
(normal.)
Description
•