Closed
Bug 1202618
Opened 9 years ago
Closed 9 years ago
Remove legacy transparent borders from toolbarbuttons on OS X
Categories
(Toolkit :: Themes, defect)
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: dao, Assigned: batmanav10, Mentored)
References
Details
(Whiteboard: [good first bug][lang=css])
Attachments
(1 file, 5 obsolete files)
1.05 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
We set border-right and border-left to "1px solid transparent" here:
http://hg.mozilla.org/mozilla-central/annotate/5fe9ed3edd68/toolkit/themes/osx/global/toolbarbutton.css#l7
We never make these borders visible, so we should just remove them and increase the padding instead.
Reporter | ||
Comment 4•9 years ago
|
||
The basic instructions are in comment 0. Is there some part you don't understand or is there some point where you got stuck? If so I can go into detail there.
Reporter | ||
Comment 6•9 years ago
|
||
Are you on OS X?
Reporter | ||
Comment 8•9 years ago
|
||
Okay, build instructions are here: https://developer.mozilla.org/en-US/docs/Simple_Firefox_build#Building
I think it's sufficient if you just open Firefox and check that toolbar buttons in the navigation toolbar, the bookmarks toolbar and the find bar look fine.
If I want to solve it in windows, is it possible like using virtual os?
Reporter | ||
Comment 10•9 years ago
|
||
This bug is only present on OS X, you won't be able to test the fix on Windows.
Assignee | ||
Comment 11•9 years ago
|
||
Hi, I think I solved this bug.
Could you please have a look?
Attachment #8666910 -
Flags: review?(dao)
Assignee | ||
Comment 12•9 years ago
|
||
Also, could you assign it to me, if it isn't ready to be merged? Or even if it is.
Reporter | ||
Comment 13•9 years ago
|
||
Comment on attachment 8666910 [details] [diff] [review]
toolbarbutton.css
Hi. Could you please generate a patch using hg diff and attach that for review? Thanks!
Attachment #8666910 -
Flags: review?(dao)
Assignee | ||
Comment 14•9 years ago
|
||
Hey, I figured I attached the wrong file earlier. Please find the diff attached for review. Thanks!
Attachment #8667267 -
Flags: review?(dao)
Assignee | ||
Updated•9 years ago
|
Attachment #8666910 -
Attachment is obsolete: true
Assignee | ||
Comment 15•9 years ago
|
||
Hopefully, this is the correct one. I think I was unable to attach a patch via bzexport because the bug wasn't assigned to me. Anyway, please find the diff for review.
Attachment #8667272 -
Flags: review?(dao)
Reporter | ||
Updated•9 years ago
|
Attachment #8667267 -
Attachment is obsolete: true
Attachment #8667267 -
Flags: review?(dao)
Reporter | ||
Comment 16•9 years ago
|
||
Comment on attachment 8667272 [details] [diff] [review]
Removed transparent borders and added padding from toolbarbuttons on OSX
> toolbarbutton {
> -moz-box-align: center;
> -moz-box-pack: center;
> margin: 0px 2px 0px 2px;
>- padding: 3px 1px 3px 1px;
>- border-right: 1px solid transparent;
>- border-left: 1px solid transparent;
>+ padding: 3px 11px 3px 11px;
To compensate the 1px border, you need to increase the left and right padding by one pixel (rather than by 10 pixels as you did in this patch).
Looks good otherwise!
Attachment #8667272 -
Flags: review?(dao) → review-
Reporter | ||
Updated•9 years ago
|
Assignee: leo_2b2006 → batmanav10
Assignee | ||
Comment 17•9 years ago
|
||
I'm really really sorry! I had set the border as 10 for testing on my machine, and forgot to change it back to 1 before changing the padding, hence mixing up :/
Please find the new patch! I really really hope this one is fine! Thanks a ton!
Attachment #8667303 -
Flags: review?(dao)
Reporter | ||
Comment 18•9 years ago
|
||
Comment on attachment 8667303 [details] [diff] [review]
Removed transparent borders and added padding from toolbarbuttons on OSX
Perfect! Oh, while you're already touching that line, you can set padding to "3px 2px" instead of "3px 2px 3px 2px", and the margin to "0 2px" instead of "0px 2px 0px 2px". Don't need to re-request review for that change. Thanks!
Attachment #8667303 -
Flags: review?(dao) → review+
Assignee | ||
Comment 19•9 years ago
|
||
Final Patch for the bug with all the recommended fixes.
Attachment #8667272 -
Attachment is obsolete: true
Attachment #8667303 -
Attachment is obsolete: true
Attachment #8667545 -
Flags: review+
Reporter | ||
Comment 20•9 years ago
|
||
(In reply to Manav Batra from comment #19)
> Created attachment 8667545 [details] [diff] [review]
> emoved transparent borders and added padding to tolbarbuttons on OS X
>
> Final Patch for the bug with all the recommended fixes.
This seems to be a diff against a local revision based on your previous patch (attachment 8667303 [details] [diff] [review]). We'll need a diff against remote tip, i.e. both patches merged into one. Could you do that?
Assignee | ||
Comment 21•9 years ago
|
||
Hi!
Sorry for the delay! Was busy with schoolwork.
Here, find the patch attached with all the recommended patches.
Thanks.
Attachment #8667545 -
Attachment is obsolete: true
Attachment #8669008 -
Flags: review?(dao)
Reporter | ||
Comment 22•9 years ago
|
||
Comment on attachment 8669008 [details] [diff] [review]
Removed transparent borders from toolbarbuttons on OSX theme
Perfect, thanks.
Attachment #8669008 -
Flags: review?(dao) → review+
Assignee | ||
Comment 24•9 years ago
|
||
Can you help me proceed further?
Is there any bug you'd like to point me to?
Comment 25•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Reporter | ||
Comment 26•9 years ago
|
||
(In reply to Manav Batra from comment #24)
> Can you help me proceed further?
> Is there any bug you'd like to point me to?
Bug 1212280 would be a good followup to this bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•