Closed
Bug 601409
Opened 14 years ago
Closed 11 years ago
searchbar-engine-button only child inside a very anonymous box without attributes
Categories
(Firefox :: Search, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: Exple1980, Assigned: Gavin)
References
Details
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b6) Gecko/20100101 Firefox/4.0b6
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b6) Gecko/20100101 Firefox/4.0b6
The button element with class and anonid "searchbar-engine-button" is placed inside a box element without any other children or any attributes. I am assuming this is a bug, because the only difference I see is that it unnecessarily breaks backward-compatibility with add-ons and unnecessarily complicates the DOM structure.
If this is not a bug and there is an advantage to this, then I apologize and please WONTFIX this.
Reproducible: Always
Expected Results:
In older versions, searchbar-engine-button is simply placed inside searchbar-textbox.
Summary: searchbar-engine-button inside a very anonymous box → searchbar-engine-button only child inside a very anonymous box without attributes
The problem is in chrome://browser/content/search/search.xml, lines 37-52.
Updated•14 years ago
|
Version: unspecified → 4.0 Branch
Updated•11 years ago
|
Component: General → Search
Assignee | ||
Comment 2•11 years ago
|
||
Thanks for the report, but this is indeed intentional. The box is needed to properly position the button within the containing autocomplete binding (i.e. for it to fall into http://hg.mozilla.org/mozilla-central/annotate/cf80c0d4f46e/toolkit/content/widgets/autocomplete.xml#l27 rather than http://hg.mozilla.org/mozilla-central/annotate/cf80c0d4f46e/toolkit/content/widgets/autocomplete.xml#l32).
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 3•11 years ago
|
||
Though it would be good to add a comment about that in the file, did that in https://hg.mozilla.org/integration/mozilla-inbound/rev/0653ee9db9f2
Comment 4•11 years ago
|
||
Assignee: nobody → gavin.sharp
You need to log in
before you can comment on or make changes to this bug.
Description
•