Closed Bug 352621 Opened 18 years ago Closed 12 years ago

phishing warning bubble uses wrong closebutton (on mac)

Categories

(Toolkit :: Safe Browsing, defect)

2.0 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Firefox 2

People

(Reporter: beltzner, Assigned: tony)

Details

Attachments

(2 files)

The phishing warning bubble still uses the red closebutton instead of the new grey one from the tabstrip and pretty much everywhere else. Screenshot coming.
philor tells me that this might be intentional; if it is, feel free to WONTFIX, but with the understanding that I think it's pretty darned odd.
It's not intentional on our part if that helps anyone make a call on fixing this...
I didn't mean to imply it was intentional, just that it wasn't _exactly_ something we forgot while changing the close button: safebrowsing uses its own fake of the closebutton, in browser/themes/(win|pin)stripe/browser/safebrowsing/close16x16.png, rather than using the images everyone else uses, so

 - it will always look wrong, because it doesn't have inactive/hover/active states
 - it will almost always be forgotten, because changing one image, and searching for references to that image name in CSS, will change every other instance of a close button in the tree, but not that one

And though the difference isn't as obvious in winstripe, it's wrong there too: compare http://lxr.mozilla.org/mozilla1.8/source/browser/themes/winstripe/browser/Close-tab.png and http://lxr.mozilla.org/mozilla1.8/source/browser/themes/winstripe/browser/safebrowsing/close16x16.png
(In reply to comment #4)
> I didn't mean to imply it was intentional, just that it wasn't _exactly_
> something we forgot while changing the close button: safebrowsing uses its own
> fake of the closebutton, in
> browser/themes/(win|pin)stripe/browser/safebrowsing/close16x16.png, rather than
> using the images everyone else uses, so
> 
>  - it will always look wrong, because it doesn't have inactive/hover/active
> states
>  - it will almost always be forgotten, because changing one image, and
> searching for references to that image name in CSS, will change every other
> instance of a close button in the tree, but not that one

So it sounds like what should be done is to start using the same image as elsewhere and add the hover/active effect.
Assignee: nobody → tony
Status: NEW → ASSIGNED
Attachment #238964 - Flags: review?(mconnor)
Comment on attachment 238964 [details] [diff] [review]
v1: use tab close icon, add css hover

Hahahaha, you asked mconnor for review.

Oh, wait, that's not funny.
Attachment #238964 - Flags: review?(mconnor) → review?(mano)
Comment on attachment 238964 [details] [diff] [review]
v1: use tab close icon, add css hover

>Index: browser/themes/*stripe/browser/safebrowsing/browser-protection.css
>===================================================================

> #safebrowsing-palm-close { 
>   height: 16px; 
>   width: 16px;

You can remove this now, I think.

r=mano otherwise.
Attachment #238964 - Flags: review?(mano) → review+
Phishing popup bubble has been replaced by an in-content error page. Closing as INVALID.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: