Closed Bug 2005078 Opened 11 months ago Closed 1 day ago

Replace button.footer-button with moz-buttons

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: mstriemer, Assigned: oarnesto)

References

Details

(Whiteboard: [recomp][acorntractors])

Attachments

(8 external files, 1 obsolete file)

The footer-button class provides styling for XUL buttons to look like our moz-button component. These look like they could be replaced with moz-button directly now

  • Searching for [^-]\bfooter-button\b seems to find a good starting list Searchfox
  • button.footer-button[default] and button.footer-button.primary should be moz-button[type="primary"]
  • button.footer-button.small-button should be moz-button[size="small"]
  • button.footer-button[type="menu"] should not be converted yet (will file a follow-up)
  • In .xhtml files, we will need to specify the markup for moz-button as <html:moz-button>
  • Changes should be made in parts, with one commit per directory (browser/base/content, browser/components/customizableui/content, browser/components/translations/content, etc)
  • Be sure to create a try build and check for test failures, there could be queries on the footer-button class or button.some-class that need to be updated
Whiteboard: [recomp] → [recomp][acorntractors]
Depends on: 2024692
See Also: → 2030701
Assignee: nobody → oarnesto
Status: NEW → ASSIGNED
Attachment #9643725 - Attachment description: WIP: Bug 2005078 - Replace button.footer with moz-button in browser/base/content/ r=#reusable-components-reviewers-rotation → Bug 2005078 - Replace button.footer with moz-button in browser/base/content/ r=#reusable-components-reviewers-rotation
Attachment #9643750 - Attachment description: WIP: Bug 2005078 - Replace button.footer with moz-button in browser/components/customizableui/ r=#reusable-components-reviewers-rotation → Bug 2005078 - Replace button.footer with moz-button in browser/components/customizableui/ r=#reusable-components-reviewers-rotation
Attachment #9644455 - Attachment description: WIP: Bug 2005078 - Replace button.footer with moz-button in browser/components/downloads/ r=#reusable-components-reviewers-rotation → Bug 2005078 - Replace button.footer with moz-button in browser/components/downloads/ r=#reusable-components-reviewers-rotation
Attachment #9644816 - Attachment description: WIP: Bug 2005078 - Replace button.footer with moz-button in browser/components/remotecontrol/ r=#reusable-components-reviewers-rotation → Bug 2005078 - Replace button.footer with moz-button in browser/components/remotecontrol/ r=#reusable-components-reviewers-rotation
Attachment #9646930 - Attachment description: WIP: Bug 2005078 - Replace button.footer with moz-button in browser/components/screenshots/ r=#reusable-components-reviewers-rotation → Bug 2005078 - Replace button.footer with moz-button in browser/components/screenshots/ r=#reusable-components-reviewers-rotation
Attachment #9645543 - Attachment description: WIP: Bug 2005078 - Replace button.footer with moz-button in browser/components/reportbrokensite/ r=#reusable-components-reviewers-rotation → Bug 2005078 - Replace button.footer with moz-button in browser/components/reportbrokensite/ r=#reusable-components-reviewers-rotation
Attachment #9647027 - Attachment description: WIP: Bug 2005078 - Replace button.footer with moz-button in browser/components/translations/ r=#reusable-components-reviewers-rotation → Bug 2005078 - Replace button.footer with moz-button in browser/components/translations/ r=#reusable-components-reviewers-rotation
Attachment #9647738 - Attachment description: WIP: Bug 2005078 - Remove unused .footer-button CSS r=#reusable-components-reviewers-rotation → Bug 2005078 - Remove unused .footer-button CSS r=#reusable-components-reviewers-rotation
Attachment #9647737 - Attachment description: WIP: Bug 2005078 - Replace button.footer with moz-button in toolkit/content/widgets/ r=#reusable-components-reviewers-rotation → Bug 2005078 - Replace button.footer with moz-button in toolkit/content/widgets/ r=#reusable-components-reviewers-rotation
See Also: → 2083111
Attachment #9646930 - Attachment is obsolete: true
Pushed by mstriemer@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e3a79ab92465 https://hg.mozilla.org/integration/autoland/rev/2ae1c628a123 Replace button.footer with moz-button in browser/base/content/ r=places-reviewers,akulyk https://github.com/mozilla-firefox/firefox/commit/a35301b6717c https://hg.mozilla.org/integration/autoland/rev/7a28769bc11a Replace button.footer with moz-button in browser/components/customizableui/ r=desktop-theme-reviewers,akulyk https://github.com/mozilla-firefox/firefox/commit/1ec153273d53 https://hg.mozilla.org/integration/autoland/rev/3336c1143ced Replace button.footer with moz-button in browser/components/downloads/ r=akulyk https://github.com/mozilla-firefox/firefox/commit/88ba12b7b3c8 https://hg.mozilla.org/integration/autoland/rev/02886e2762ca Replace button.footer with moz-button in browser/components/remotecontrol/ r=akulyk,desktop-theme-reviewers https://github.com/mozilla-firefox/firefox/commit/dfa673c9a8df https://hg.mozilla.org/integration/autoland/rev/9295a634f77f Replace button.footer with moz-button in browser/components/reportbrokensite/ r=desktop-theme-reviewers,webcompat-reviewers,akulyk,twisniewski https://github.com/mozilla-firefox/firefox/commit/60e3e480f4ed https://hg.mozilla.org/integration/autoland/rev/432a2996e996 Replace button.footer with moz-button in browser/components/translations/ r=translations-reviewers,akulyk,desktop-theme-reviewers,nordzilla https://github.com/mozilla-firefox/firefox/commit/f112fd560d25 https://hg.mozilla.org/integration/autoland/rev/3fe9380aba46 Replace button.footer with moz-button in toolkit/content/widgets/ r=reusable-components-reviewers,omc-reviewers,akulyk,emcminn,media-playback-reviewers,urlbar-reviewers,nimbus-reviewers,jteow,padenot,sachung https://github.com/mozilla-firefox/firefox/commit/474df7e6aab7 https://hg.mozilla.org/integration/autoland/rev/cd2ec7b01774 Remove unused .footer-button CSS r=desktop-theme-reviewers,akulyk
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fa1e90ea670c https://hg.mozilla.org/integration/autoland/rev/ab3ff1cb2d01 Revert "Bug 2005078 - Remove unused .footer-button CSS r=desktop-theme-reviewers,akulyk" for causing mda-bc failures at browser_decoderDoctor.js

Backed out for causing mda-bc failures at browser_decoderDoctor.js
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-PASS | dom/media/doctor/test/browser/browser_decoderDoctor.js | test_decode_error - notification button should have accesskey - Got "R", expected "R"

Flags: needinfo?(oarnesto)

Also multiple bc tests failures -- here

Failure line TEST-UNEXPECTED-PASS | dom/media/doctor/test/browser/browser_decoderDoctor.js | test_decode_error - notification button should have accesskey - Got "R", expected "R"

This at least was caused by a test I forgot to change from a todo_is() back to an is() after the accesskey bug was resolved. I'm looking into the bug again and will try relanding soon.

Flags: needinfo?(oarnesto)
Pushed by oarnesto@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/12f750a10326 https://hg.mozilla.org/integration/autoland/rev/175950c7983f Replace button.footer with moz-button in browser/base/content/ r=places-reviewers,akulyk https://github.com/mozilla-firefox/firefox/commit/e5d79af54c80 https://hg.mozilla.org/integration/autoland/rev/cbbb1bd02a4a Replace button.footer with moz-button in browser/components/customizableui/ r=desktop-theme-reviewers,akulyk https://github.com/mozilla-firefox/firefox/commit/bafa1af23562 https://hg.mozilla.org/integration/autoland/rev/097c8b9ac5ca Replace button.footer with moz-button in browser/components/downloads/ r=akulyk https://github.com/mozilla-firefox/firefox/commit/afa5169787e0 https://hg.mozilla.org/integration/autoland/rev/7bd60ae8cf94 Replace button.footer with moz-button in browser/components/remotecontrol/ r=akulyk,desktop-theme-reviewers https://github.com/mozilla-firefox/firefox/commit/f5f03864b6bc https://hg.mozilla.org/integration/autoland/rev/09ac2b043f79 Replace button.footer with moz-button in browser/components/reportbrokensite/ r=desktop-theme-reviewers,webcompat-reviewers,akulyk,twisniewski https://github.com/mozilla-firefox/firefox/commit/d19513b12b2b https://hg.mozilla.org/integration/autoland/rev/4da1dc7ec0f8 Replace button.footer with moz-button in browser/components/translations/ r=translations-reviewers,akulyk,desktop-theme-reviewers,nordzilla https://github.com/mozilla-firefox/firefox/commit/27ff3068f606 https://hg.mozilla.org/integration/autoland/rev/aa7f931f24e2 Replace button.footer with moz-button in toolkit/content/widgets/ r=reusable-components-reviewers,omc-reviewers,akulyk,emcminn,media-playback-reviewers,urlbar-reviewers,nimbus-reviewers,jteow,padenot,sachung https://github.com/mozilla-firefox/firefox/commit/d13b1ab8a543 https://hg.mozilla.org/integration/autoland/rev/009b8d0f92ca Remove unused .footer-button CSS r=desktop-theme-reviewers,akulyk
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0d5d1eeddb7e https://hg.mozilla.org/integration/autoland/rev/31f86d797417 Revert "Bug 2005078 - Remove unused .footer-button CSS r=desktop-theme-reviewers,akulyk" for causing failures at browser_RemoteSettingsCrashPull_notification.js.
Pushed by oarnesto@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e1dca9e03afd https://hg.mozilla.org/integration/autoland/rev/bdbc5cf215f3 Replace button.footer with moz-button in browser/base/content/ r=places-reviewers,akulyk https://github.com/mozilla-firefox/firefox/commit/3e25cf80e855 https://hg.mozilla.org/integration/autoland/rev/92769bde2d37 Replace button.footer with moz-button in browser/components/customizableui/ r=desktop-theme-reviewers,akulyk https://github.com/mozilla-firefox/firefox/commit/8473ec210feb https://hg.mozilla.org/integration/autoland/rev/8775860953c8 Replace button.footer with moz-button in browser/components/downloads/ r=akulyk https://github.com/mozilla-firefox/firefox/commit/2e9fdb421425 https://hg.mozilla.org/integration/autoland/rev/32516a99a2a7 Replace button.footer with moz-button in browser/components/remotecontrol/ r=akulyk,desktop-theme-reviewers https://github.com/mozilla-firefox/firefox/commit/7a6b47bb3745 https://hg.mozilla.org/integration/autoland/rev/e4f335032378 Replace button.footer with moz-button in browser/components/reportbrokensite/ r=desktop-theme-reviewers,webcompat-reviewers,akulyk,twisniewski https://github.com/mozilla-firefox/firefox/commit/4d9bf6860d05 https://hg.mozilla.org/integration/autoland/rev/7c16252023b4 Replace button.footer with moz-button in browser/components/translations/ r=translations-reviewers,akulyk,desktop-theme-reviewers,nordzilla https://github.com/mozilla-firefox/firefox/commit/1bfdbefcee4b https://hg.mozilla.org/integration/autoland/rev/bc79db77afbf Replace button.footer with moz-button in toolkit/content/widgets/ r=reusable-components-reviewers,omc-reviewers,akulyk,emcminn,media-playback-reviewers,urlbar-reviewers,nimbus-reviewers,jteow,padenot,sachung,webdriver-reviewers,whimboo https://github.com/mozilla-firefox/firefox/commit/2284791a733a https://hg.mozilla.org/integration/autoland/rev/382acb6e220a Remove unused .footer-button CSS r=desktop-theme-reviewers,akulyk
See Also: → 2091880
Flags: needinfo?(oarnesto)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: