gecko-dev/browser/base
Shane Hughes c3c31bf019 Bug 1756385 - Widgets to appear unchecked in customize mode. r=jaws
This patch adds a CSS rule to override rules that set background-color on
"checked" toolbar buttons, while in customize mode. Because the checked state is
no longer visible in customize mode (which mainly affects the sidebar toggle
widget), we could use the Accel+B hotkey to hide or show the sidebar without any
visual feedback, potentially causing confusion.

So this patch also adds a check for customize mode in SidebarUI.toggle(). It
might be more sophisticated to wrap the method in a command element that can be
updated by CustomizeMode.jsm, and link the key elements to that command, so it
only impacts the shortcuts. But for now I think a more minimal change is fine.

Also add a test to confirm that the above works correctly.

Differential Revision: https://phabricator.services.mozilla.com/D139625
2022-03-01 15:26:19 +00:00
..
content Bug 1756385 - Widgets to appear unchecked in customize mode. r=jaws 2022-03-01 15:26:19 +00:00
jar.mn Bug 1749435 - Use Fluent to localize bookmarks.html at run-time rather than build-time. r=flod,mak,fluent-reviewers 2022-01-19 17:02:26 +00:00
moz.build Bug 1745208 - [utilityOverlay] Add new tests for openWebLinkIn r=Gijs 2022-01-26 17:26:19 +00:00