Closed Bug 395694 Opened 17 years ago Closed 17 years ago

Since Larry landing the url bar is larger on ssl sites

Categories

(Firefox :: Address Bar, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3 beta1

People

(Reporter: mossop, Assigned: johnath)

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

Since Larry landed I've noticed the location bar changing height depending on the webpage I view.

Specifically on an ssl site that does not have a webfeed the location bar is 1 pixel smaller than it should be.

On an ssl site with a feed the feed icon appears to keep the location bar at an appropriate height.

On a non-ssl site regardless of feed the bar appears to be the right height.

My toolbar is as standard except search and resizer removed and icons set small. With icons on large I do not see the problem.

Switching between tabs makes the location bar shift in size causing the entire content area to jump up and down which is real irritating.

Looking with DOMi, it seems that #feed-button changes between 15.15px when there is no feed and 16px when there is a feed.

I've tested and forcing a height of 16px on the #urlbar-icons fixes the problem.
Attached patch Need one more pixel of padding (obsolete) — Splinter Review
Yeah, I can see this behaviour on mac if I move to small icons, large icons seem to "prop it up" and hide the problem.  Attaching a little 1-line patch that fixes how the margins are handled by Larry, but I haven't tested it on Windows yet.
Assignee: nobody → johnath
Status: NEW → ASSIGNED
I've seen the opposite problem on Windows in a certain situation.  Bug 395244
Well this patch does solve the issue, the url bar remains the same height at all times. However it introduces another problem. With it the favicon shifts down by 1 pixel on secure sites compared to non-secure sites (regardless of feed icon).
Mossop - this is what I should have done before hand, though it doubles the size of the patch.  :)  I think this one should work for you?
Attachment #280372 - Attachment is obsolete: true
With the new larry landing this behaviour has changed. Now the url bar is 1 pixel too large on all ssl sites (regardless of feed icon and toolbar size). It extends 1 pixel above the top of the star icon.
Summary: Since Larry landing the url bar is smaller on an ssl site with no feed → Since Larry landing the url bar is larger on ssl sites
Applies against current trunk and removes the pixel of errant bottom padding on mac.  I've checked this against a normal profile as well as dave's minimal setup, but would like his explicit yes before landing, to make sure I get it right this time.
Attachment #280478 - Attachment is obsolete: true
Attachment #282296 - Flags: review?(dtownsend)
Comment on attachment 282296 [details] [diff] [review]
Patch against updated trunk

r=me

There is still one minor difference that Im not so interested in, on an ssl site the autocomplete drop down arrow is about a pixel or two further left, but thats barely noticeable
Attachment #282296 - Flags: review?(dtownsend) → review+
mozilla/browser/themes/pinstripe/browser/browser.css 	1.81
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M9
This has been backed out as part of bug 383183 to investigate the Tp regression talos is showing
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Fixed with the last relanding of bug 383183, confirmed by Dave.
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: