Closed
Bug 389689
Opened 17 years ago
Closed 17 years ago
Have the dialog for nsIContentDispatchChooser use the width property
Categories
(Core Graveyard :: File Handling, defect)
Core Graveyard
File Handling
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.9alpha8
People
(Reporter: sdwilsh, Assigned: sdwilsh)
References
Details
Attachments
(3 files, 2 obsolete files)
We had to use style for the initial landing because of some odd bug. I'll be filing that in just a moment.
End goal is to use width="value" where value is locale dependent.
Flags: blocking1.9?
Assignee | ||
Comment 1•17 years ago
|
||
ok, we can work around this by specifying a height as well - what fun!
Assignee | ||
Comment 2•17 years ago
|
||
Now of course, setting the height means no window.sizeToContent when we hide and show the text under the checkbox...
Attachment #274042 -
Flags: review?(beltzner)
Assignee | ||
Comment 3•17 years ago
|
||
Attachment #274043 -
Flags: review?(beltzner)
Comment 5•17 years ago
|
||
Comment on attachment 274042 [details]
Screenshot without check
ui-r+
Attachment #274042 -
Flags: review?(beltzner) → review+
Comment 6•17 years ago
|
||
Comment on attachment 274043 [details]
Screenshot with check
ui-r+
Attachment #274043 -
Flags: review?(beltzner) → review+
Assignee | ||
Comment 7•17 years ago
|
||
[5:02pm] Mano: sdwilsh: er, did you mean visibility: hidden; in your patch?
[5:02pm] Waldo is now known as Waldo|lunch.
[5:02pm] sdwilsh: Mano: no - because then the richlist box changes height and it doesn't behave well
[5:03pm] sdwilsh: er
[5:03pm] sdwilsh: wait
[5:03pm] sdwilsh: what does that do again?
[5:03pm] sdwilsh: because maybe now that I think about it
[5:03pm] Mano: should keep the element in its height
[5:03pm] sdwilsh: yeah, that's what I should probably use
[5:04pm] Mano: k, please test
[5:04pm] Mano: sdwilsh: also :not([visible]) is cheaper
[5:04pm] Mano: +removeAttribute, that is.
[5:04pm] sdwilsh: hrm
[5:04pm] Mano: i think this belongs to the content style sheet
[5:05pm] sdwilsh: ok - I suppose that makes more sense
[5:06pm] Mano: paste this log there please.
[5:07pm] sdwilsh: in bug?
[5:07pm] NeilAway left the chat room. (Connection reset by peer)
[5:07pm] sdwilsh: I'll do it with a new patch
[5:08pm] Mano: yeah, so old-gavin would know why young-mano r-ed
[5:08pm] gavin_: haha
Attachment #274045 -
Attachment is obsolete: true
Attachment #274052 -
Flags: review?(mano)
Attachment #274045 -
Flags: review?(mano)
Comment 8•17 years ago
|
||
Comment on attachment 274052 [details] [diff] [review]
v1.1
>Index: toolkit/mozapps/handling/content/dialog.js
>===================================================================
>RCS file: /cvsroot/mozilla/toolkit/mozapps/handling/content/dialog.js,v
>retrieving revision 1.1
>diff -u -8 -p -r1.1 dialog.js
>--- toolkit/mozapps/handling/content/dialog.js 26 Jul 2007 04:24:26 -0000 1.1
>+++ toolkit/mozapps/handling/content/dialog.js 26 Jul 2007 21:12:20 -0000
>@@ -205,20 +205,20 @@ var dialog = {
> this._okButton.disabled = this._itemChoose.selected;
> },
>
> /**
> * Updates the UI based on the checkbox being checked or not.
> */
> onCheck: function onCheck()
> {
>- document.getElementById("remember-text").hidden =
>- !document.getElementById("remember").checked;
>-
>- window.sizeToContent();
>+ if (document.getElementById("remember").checked)
>+ document.getElementById("remember-text").setAttribute("visible", "");
nit "true", for consistency.
r=mano otherwise.
Attachment #274052 -
Flags: review?(mano) → review+
Updated•17 years ago
|
Assignee | ||
Updated•17 years ago
|
Target Milestone: mozilla1.9 M9 → mozilla1.9 M8
Assignee | ||
Updated•17 years ago
|
Attachment #274213 -
Flags: approval1.9?
Assignee | ||
Comment 12•17 years ago
|
||
Comment on attachment 274213 [details] [diff] [review]
v1.2
I don't need approval for this after all.
Attachment #274213 -
Flags: approval1.9?
Assignee | ||
Comment 13•17 years ago
|
||
Checking in toolkit/mozapps/handling/content/dialog.js;
new revision: 1.3; previous revision: 1.2
Checking in toolkit/mozapps/handling/content/dialog.xul;
new revision: 1.2; previous revision: 1.1
Checking in toolkit/mozapps/handling/content/handler.css;
new revision: 1.2; previous revision: 1.1
Checking in toolkit/mozapps/handling/content/handling.dtd;
new revision: 1.2; previous revision: 1.1
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite-
Flags: in-litmus?
Resolution: --- → FIXED
Updated•17 years ago
|
Assignee | ||
Updated•17 years ago
|
Flags: blocking1.9?
Comment 14•17 years ago
|
||
Dialog is covered in Litmus:
https://litmus.mozilla.org/show_test.cgi?searchType=by_category&product_id=1&branch_id=15&testgroup_id=55&subgroup_id=884
https://litmus.mozilla.org/show_test.cgi?searchType=by_category&product_id=1&branch_id=15&testgroup_id=56&subgroup_id=820
Verifying on: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008050704 Minefield/3.0pre
Status: RESOLVED → VERIFIED
Flags: in-litmus? → in-litmus+
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•