gecko-dev/toolkit/themes/osx
Markus Stange eb296ef5d2 Bug 1722833 - Tweak default button :active state rendering. r=mac-reviewers,spohl
Before this patch we were drawing default buttons as follows:

(no state):          Drawn as a regular default button, with white text.
:active:hover:       Drawn as a pressed non-default button, with white text.
:active:not(:hover): Drawn as a regular non-default button, with regular button text (black in light mode, white in dark mode).

With this patch, we are drawing default buttons as follows:

(no state):          Unchanged.
:active:hover:       Drawn as a pressed *default* button, with white text.
:active:not(:hover): Drawn as a regular *default* button, with white text.

So we're changing both the pressed state and the "dragged" state.

The pressed state looks the same as before on all macOS versions prior to macOS 12;
on those versions, pressed default buttons and pressed non-default buttons look the same.
It's only on macOS 12 that the two diverge.

The "dragged" state didn't seem to match any native behavior in the past, and is corrected
for all macOS versions now.

Differential Revision: https://phabricator.services.mozilla.com/D128616
2021-10-18 21:29:41 +00:00
..
global Bug 1722833 - Tweak default button :active state rendering. r=mac-reviewers,spohl 2021-10-18 21:29:41 +00:00
mozapps Bug 1735230 - Fix active state of the button in the app chooser dialog, and fix the description in HCM when selecting an item r=Gijs 2021-10-13 18:44:54 +00:00
reftests Bug 1703630 - update mac reftests for proton and remove last proton media queries from toolkit, r=jaws 2021-08-02 15:03:14 +00:00
moz.build