Closed Bug 463261 Opened 16 years ago Closed 16 years ago

endcap of the buttons & shadows of buttons on the bookmark toolbar are not properly aligned

Categories

(Firefox :: Theme, defect)

PowerPC
macOS
defect
Not set
trivial

Tracking

()

VERIFIED FIXED
Firefox 3.1b3

People

(Reporter: chris.blore, Assigned: dao)

References

Details

(Keywords: regression, verified1.9.1)

Attachments

(2 files)

When you mouse over the "Most Visited" button on the bookmark toolbar, it is noticeable that the left endcap is not properly aligned. It looks to be a few pixels below where it should be. This is not the case on the right-hand side.

I shall try to post a screenshot to show what I mean a bit later on.
Flags: blocking-firefox3.1?
This is similar to bug 457491. I think we should just rework these buttons with border-image or just do it with border-radius and border-colors.
Yes, I should have said that this is visible on all bookmark toolbar buttons, not just "Most Visited".
Good theme cleanup to get.
Flags: blocking-firefox3.1? → blocking-firefox3.1+
Target Milestone: --- → Firefox 3.1
Summary: Endcap of the "Most Visited" button on the bookmark toolbar is not properly aligned → endcap of the buttons & shadows of buttons on the bookmark toolbar are not properly aligned
Whiteboard: [polish-easy] [polish-visual]
(In reply to comment #1)
> This is similar to bug 457491.

In fact, this is a regression from bug 457491.
Blocks: 457491
Keywords: regression
Whiteboard: [polish-easy] [polish-visual]
Attached patch patchSplinter Review
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #349609 - Flags: review?(gavin.sharp)
I also noticed that the images for the hover state are messed up. There are two shades of gray, both visible in this image: http://mxr.mozilla.org/mozilla/source/toolkit/themes/pinstripe/global/toolbar/toolbarbutton-customhover-right.png
Comment on attachment 349609 [details] [diff] [review]
patch

>diff --git a/browser/themes/pinstripe/browser/browser.css b/browser/themes/pinstripe/browser/browser.css

>-toolbarbutton.bookmark-item .toolbarbutton-text {
>-  font-size: 100% !important; 
>-  margin: 0px !important;

Why are you removing this?
There's already this:

toolbarbutton.bookmark-item > .toolbarbutton-text {
  margin: 0;
}

and I don't see anything else altering the font size.
Attachment #349609 - Flags: review?(gavin.sharp) → review+
http://hg.mozilla.org/mozilla-central/rev/5fcc930b0518
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 3.1 → Firefox 3.1b3
hey, why don't use -moz-border-image instead of background-image here.

here's mine, I've removed those left, middle, right codes.


toolbarbutton.bookmark-item:hover {
	-moz-border-image: url("chrome://browser/skin/hover.png") 0 7 / 0px 7px repeat;
}

toolbarbutton.bookmark-item:hover:active, 
toolbarbutton.bookmark-item[open="true"] {
	-moz-border-image: url("chrome://browser/skin/open.png") 0 7 / 0px 7px repeat;
}
(In reply to comment #12)
> hey, why don't use -moz-border-image instead of background-image here.

Because fixing the existing method was easier.

Feel free to file a new bug.
Verified fixed on the trunk using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090413 Minefield/3.6a1pre and

Verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090413 Shiretoko/3.5b4pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: