Closed
Bug 622405
Opened 14 years ago
Closed 14 years ago
Container of browser.xul identity-popup-more-info-button (an hbox) is missing ID
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 4.0b9
People
(Reporter: Debloper, Assigned: Debloper)
Details
(Whiteboard: [good first bug])
Attachments
(3 files, 3 obsolete files)
81.04 KB,
image/png
|
Details | |
314 bytes,
text/plain
|
Details | |
978 bytes,
patch
|
dao
:
review+
johnath
:
approval2.0+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
In the site identity-popup, the last element ("More Information..." button, id="identity-popup-more-info-button") is contained within an hbox without any id.
If for any reason, a button is required to be added in that hbox set, it takes relatively complex approach to get it done. Adding an id to the hbox can fix it.
Even at the time of this bug-reporting, the latest revision of browser.xul has this problem - http://hg.mozilla.org/mozilla-central/file/a05e91710adb/browser/base/content/browser.xul
Reproducible: Always
Assignee | ||
Comment 1•14 years ago
|
||
Assignee | ||
Comment 2•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Version: unspecified → Trunk
Comment 3•14 years ago
|
||
Confirmed with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b9pre) Gecko/20110101 Firefox/4.0b9pre ID:20110101030401
Status: UNCONFIRMED → NEW
Component: General → Theme
Ever confirmed: true
QA Contact: general → theme
Updated•14 years ago
|
Component: Theme → General
QA Contact: theme → general
Updated•14 years ago
|
Whiteboard: [good first bug]
Assignee | ||
Comment 4•14 years ago
|
||
Not sure if I've added the reviewer string right...
Attachment #500696 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #500696 -
Flags: review? → review?(johnath)
Comment 5•14 years ago
|
||
Comment on attachment 500696 [details] [diff] [review]
Added id="identity-popup-more-info" to the hbox to fix
Please see https://developer.mozilla.org/en/Creating_a_patch and https://developer.mozilla.org/en/Mercurial_FAQ#How_can_I_diff_and_patch_files.3F
Attachment #500696 -
Flags: review?(johnath)
Assignee | ||
Comment 6•14 years ago
|
||
I guess, dao is available for this, & hope I've done the right thing!
Attachment #500696 -
Attachment is obsolete: true
Attachment #500752 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #500752 -
Flags: review? → review?(dao)
Comment 7•14 years ago
|
||
Comment on attachment 500752 [details] [diff] [review]
Diff created after adding id="identity-popup-more-info" to the hbox to fix
Your editor replaced all \n line endings with \r\n ones, resulting in an enormous patch. Please fix ;)
Attachment #500752 -
Flags: review?(dao)
Assignee | ||
Comment 8•14 years ago
|
||
Thanks to irc:Kwierso for helping me out.
I'm pretty sure, I got it right this time.
@Dao: thanks for having patients with me; really appreciate it.
Attachment #500752 -
Attachment is obsolete: true
Attachment #500759 -
Flags: review?(dao)
Comment 9•14 years ago
|
||
I'd suggest "identity-popup-button-container" as the id, given this rationale:
> If for any reason, a button is required to be added in that hbox set, it takes
> relatively complex approach to get it done. Adding an id to the hbox can fix
> it.
Assignee | ||
Comment 10•14 years ago
|
||
(In reply to comment #9)
> I'd suggest "identity-popup-button-container" as the id, given this rationale:
>
> > If for any reason, a button is required to be added in that hbox set, it takes
> > relatively complex approach to get it done. Adding an id to the hbox can fix
> > it.
Nice suggestion & I've also given similar thoughts before.
One thing kept me from doing it is, all the child nodes descendant from "identity-popup" are inheriting the 1st part of their parent's id, then appending their own. But giving that ID will break it for the contained button's id. (I'd request taking a look at lines 342-384)
Although I know having "identity-popup-button-container" sounds much better, but this previous convention (albeit not mine) is not very bad anyway. I have no bias, for any id (all I want is a ID, which should be added there).
Let me know; I'll change & resubmit.
Comment 11•14 years ago
|
||
(In reply to comment #10)
> Although I know having "identity-popup-button-container" sounds much better,
> but this previous convention (albeit not mine) is not very bad anyway.
It's not an intended convention and doesn't need to be followed through.
Assignee | ||
Comment 12•14 years ago
|
||
Attachment #500759 -
Attachment is obsolete: true
Attachment #500878 -
Flags: review?(dao)
Attachment #500759 -
Flags: review?(dao)
Updated•14 years ago
|
Attachment #500878 -
Flags: review?(dao) → review+
Updated•14 years ago
|
Attachment #500878 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #500878 -
Flags: approval2.0? → approval2.0+
Updated•14 years ago
|
Keywords: checkin-needed
Updated•14 years ago
|
Assignee: nobody → debloper
Comment 13•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b9
You need to log in
before you can comment on or make changes to this bug.
Description
•