Closed Bug 689809 Opened 13 years ago Closed 10 years ago

X to Close Addon Bar should be located on the right if platform isn't Mac OS X

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jaws, Assigned: mattw)

References

Details

Attachments

(2 files, 1 obsolete file)

As a follow-up bug from bug 657438, for consistency the close button on the addon bar should be located on the right-side if not on MACOSX.
I don't think bug 657438 should land without this... so not exactly a follow-up.
Blocks: 657438
Attached patch patchSplinter Review
The add-on bar being customizable makes this fun -- actually moving the element probably isn't going to work.
Attached patch patch for bug 689809 (obsolete) — Splinter Review
The only issue I noticed was that the close button relocates back to the left while customizing the add-on bar. 

Adding the following should fix this:

  #addon-bar > #wrapper-addonbar-closebutton {
      -moz-box-ordinal-group: 2000;
  }

Let me know what you think.
Attachment #562968 - Flags: review?(jwein)
Attachment #562968 - Flags: review?(jwein) → review?(dao)
Comment on attachment 562968 [details] [diff] [review]
patch for bug 689809

>--- a/browser/themes/gnomestripe/browser/browser.css
>+++ b/browser/themes/gnomestripe/browser/browser.css

>+#addon-bar > #wrapper-addonbar-closebutton {
>+    -moz-box-ordinal-group: 2000;
>+}

1. this belongs in browser/base/content/browser.css (with ifdefs)
2. "#addon-bar > " is redundant
3. you can add #addonbar-closebutton to the selector and drop the browser.xul part of this patch
4. indentation is 2 spaces (not 4)
Attachment #562968 - Flags: review?(dao) → review-
Attachment #562968 - Attachment is obsolete: true
Attachment #565421 - Flags: review?(dao)
Comment on attachment 565421 [details] [diff] [review]
patch for bug 689809 v2

There's another problem: The <statusbar>'s resizer (when displayed; http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.css#478) must be on the far right.
Attachment #565421 - Flags: review?(dao) → review-
The add-on bar was removed in Firefox 29.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: