Open Bug 1624998 Opened 4 years ago Updated 4 years ago

Backplate background color does not transition properly

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

People

(Reporter: ntim, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR:

  1. Enable High contrast mode (the testcase does nothing without it, since initial = transparent, as opposed to ButtonFace on HCM)
  2. Open testcase (you'll need to make sure the ButtonFace color differs from your chosen background-color, though this should be default on macOS)
  3. 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

Blocks: hcm

Hmm, bug 1624655 will probably break the current testcase...
EDIT: or maybe not, since the widget doesn't use native theming.

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.

Priority: -- → P3

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.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: