This patch does a couple of things, based on trial-and-error, as well as a
conversation with yzen from the Accessibility team.
1. Auto-focuses the playpause button, and puts unpip and then close as the next
items that can be focused with the keyboard. The underlying <browser> element
is no longer keyboard focusable.
2. It adds a white outline with a black box-shadow around the focused control
when using keyboard navigation. That outline and box-shadow do not appear
when using the mouse only. Keyboard navigation can be aborted by hitting Esc.
3. The controls remain visible while the video is paused.
4. When transitioning from the paused to playing state, we wait
CONTROLS_FADE_TIMEOUT_MS milliseconds to hide the controls again.
Differential Revision: https://phabricator.services.mozilla.com/D37887
--HG--
extra : moz-landing-system : lando
Adds a simple UI with tests for the elevation UI that mimics the wizard based elevation UI and uses the existing strings
Removes all methods from nsIUpdatePrompt except showUpdateHistory which will be removed later
Does not remove the UPDATE_WIZ_LAST_PAGE_CODE telemetry histogram since that will remove it from the data sources
Differential Revision: https://phabricator.services.mozilla.com/D33914
--HG--
extra : moz-landing-system : lando
Some about: pages use -moz-Dialog background color which is dark with popular GTK dark themes (Adwaita-dark, Yaru-dark) so the text color needs to be set to -moz-DialogText to retain contrast. This affects about:buildconfig, about:cache, about:serviceworkers and about:credits.
Differential Revision: https://phabricator.services.mozilla.com/D31414
--HG--
extra : moz-landing-system : lando
- Update info.svg to adjust color based on the fill color.
- Use button colors as defined by Photon (without this, the background
of the non-generic buttons are almost indistinguishable when dark
themes are enabled).
- Small refactor of message-bar.css to put all type-specific
declarations in one location.
Differential Revision: https://phabricator.services.mozilla.com/D31509
--HG--
extra : moz-landing-system : lando
- Update info.svg to adjust color based on the fill color.
- Use button colors as defined by Photon (without this, the background
of the non-generic buttons are almost indistinguishable when dark
themes are enabled).
- Small refactor of message-bar.css to put all type-specific
declarations in one location.
Differential Revision: https://phabricator.services.mozilla.com/D31509
--HG--
extra : moz-landing-system : lando
- Fill stars based on whether the rating is within the 0.5 range of a
0.5-multiple, rather than checking whether the rating is at least as
large as the 0.5-multiple. This follows the boundaries at:
bb9277eeff/src/ui/components/Rating/index.js (L139-L140)
- Use a review star rating instead of re-using the bookmark star.
This is not necessarily to be more consistent with AMO's stars,
but to prevent the stars from becoming non-stars if we ever change
the bookmark icon. The SVG icon is based on the path at:
bb9277eeff/src/ui/components/IconStar/index.js (L19)
- Turn it into a custom element to make re-use easier.
Differential Revision: https://phabricator.services.mozilla.com/D29480
--HG--
extra : moz-landing-system : lando
It would detect the variable as unreferenced because the background-repeat that
was added on this bug makes the values not serialize, see
https://github.com/w3c/csswg-drafts/issues/2515
CLOSED TREE of course
This is made easier by making the window-dragging region inset by 5px on each side.
Depends on D30100
Differential Revision: https://phabricator.services.mozilla.com/D30101
--HG--
extra : moz-landing-system : lando
- Fill stars based on whether the rating is within the 0.5 range of a
0.5-multiple, rather than checking whether the rating is at least as
large as the 0.5-multiple. This follows the boundaries at:
bb9277eeff/src/ui/components/Rating/index.js (L139-L140)
- Use a review star rating instead of re-using the bookmark star.
This is not necessarily to be more consistent with AMO's stars,
but to prevent the stars from becoming non-stars if we ever change
the bookmark icon. The SVG icon is based on the path at:
bb9277eeff/src/ui/components/IconStar/index.js (L19)
- Turn it into a custom element to make re-use easier.
Differential Revision: https://phabricator.services.mozilla.com/D29480
--HG--
extra : moz-landing-system : lando