Closed Bug 397466 Opened 17 years ago Closed 17 years ago

Remove autocomplete-security-wrapper

Categories

(Firefox :: Address Bar, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Firefox 3

People

(Reporter: dao, Assigned: dao)

References

Details

(Keywords: perf)

Attachments

(2 obsolete files)

As of Firefox 2, the location bar isn't styled natively, which means that the autocomplete-security-wrapper hack from bug 263750 isn't needed anymore.
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #282233 - Flags: review?(gavin.sharp)
Keywords: perf
Whiteboard: will need to cvs remove winstripe/browser.xml
Blocks: 397946
Gavin: This patch is tested on Linux and (as one might expect) doesn't seem to have any side effects.
Attachment #282233 - Flags: review?(gavin.sharp) → review?(mconnor)
I started looking into this, so I'd like to finish this review if you don't mind. I'll try to finish this today.
Comment on attachment 282233 [details] [diff] [review]
patch

Okay, I thought you would be too busy.
Attachment #282233 - Flags: review?(mconnor) → review?(gavin.sharp)
In reply to comment #0)
> As of Firefox 2, the location bar isn't styled natively

I'm not sure I understand. The problem in bug 248419 was solved by making sure that autocomplete-textbox-container wasn't natively styled (attachment 161139 [details] [diff] [review]). It was then replaced by this hack in bug 263750, because non-native styling for that element caused trouble with the border. What's changed since then that makes unnecessary? The new Firefox 2 theme disabled native themeing on the URL bar element itself (http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/themes/winstripe/browser/browser.css&rev=1.107&mark=863#855), but it didn't touch autocomplete-textbox-container as far as I can tell.
(In reply to comment #5)
> I'm not sure I understand. The problem in bug 248419 was solved by making sure
> that autocomplete-textbox-container wasn't natively styled (attachment 161139 [details] [diff] [review]).

That patch looks void to me. autocomplete-textbox-container is a hbox that doesn't have an appearance by default.

> It was then replaced by this hack in bug 263750, because non-native styling for
> that element caused trouble with the border. What's changed since then that
> makes unnecessary? The new Firefox 2 theme disabled native themeing on the URL
> bar element itself

Yeah, that's the point, as far as I understand the issue. The problem with the border came with the appearance of the textbox, which was changed with the new theme.
(In reply to comment #6)
> That patch looks void to me. autocomplete-textbox-container is a hbox that
> doesn't have an appearance by default.

Well, bug 248419 comment 10, bug 248419 comment 14, and the existence of bug 263750 seem to indicate that it isn't void, so I'm not sure what's going on here. I've been having a few problems with my Linux VMs so testing this has taken longer than it normally would.
Comment on attachment 282233 [details] [diff] [review]
patch

looks like the location bar might get back the native appearance.
Attachment #282233 - Flags: review?(gavin.sharp)
Target Milestone: Firefox 3 → ---
Well I still don't see a difference with native styling.
.autocomplete-textbox-container and #autocomplete-security-wrapper (the single child of the former) are vboxes with no appearance, the same dimensions, background color etc..
Target Milestone: --- → Firefox 3
(In reply to comment #9)
> .autocomplete-textbox-container and #autocomplete-security-wrapper (the single
> child of the former) are vboxes

hboxes
Whiteboard: will need to cvs remove winstripe/browser.xml
Attached patch patch (obsolete) — Splinter Review
tested on Linux:

https://build.mozilla.org/tryserver-builds/2007-12-26_12:43-dgottwald@mozilla.com-1198701770/
Attachment #282233 - Attachment is obsolete: true
Attachment #294594 - Flags: review?(gavin.sharp)
Bug 405210 is going to give an appearance to .autocomplete-textbox-container on Linux, hence the hack will be needed again.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
Attachment #294594 - Attachment is obsolete: true
Attachment #294594 - Flags: review?(gavin.sharp)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: