зеркало из https://github.com/mozilla/gecko-dev.git
eb296ef5d2
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 |
||
---|---|---|
.. | ||
global | ||
mozapps | ||
reftests | ||
moz.build |