remove <deck> from EdAdvancedEdit.xhtml
Categories
(Thunderbird :: General, task)
Tracking
(thunderbird_esr78 wontfix, thunderbird84 wontfix)
People
(Reporter: mkmelin, Assigned: khushil324)
References
Details
Attachments
(1 file, 1 obsolete file)
4.15 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
Remove <deck> from EdAdvancedEdit.xhtml and js
https://searchfox.org/comm-central/rev/f8c11a36225bbe5e145f1a9a0a3801428e265715/mail/components/compose/content/dialogs/EdAdvancedEdit.xhtml#90-103
There are only two children of the deck. Instead of a deck, they could just as well be set to hidden while the other is not, and vice versa.
Shouldn't be any sizing effects since this one has size from the parent.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
Comment on attachment 9189745 [details] [diff] [review] Bug-1679247_de-dack-EdAdvancedEdit-xhtml-0.patch Review of attachment 9189745 [details] [diff] [review]: ----------------------------------------------------------------- ::: mail/components/compose/content/dialogs/EdAEHTMLAttributes.js @@ +198,3 @@ > // Switch to using editable menulist > + gDialog.AddHTMLAttributeValueMenulist.parentElement.hidden = false; > + gDialog.AddHTMLAttributeValueTextbox.hidden = true; why hid this if we're still going to hide the parent next?
Assignee | ||
Comment 3•4 years ago
|
||
The parent element is the XUL element and child is <html:input>. So hiding the XUL parent element is not hiding the <html:input>.
Reporter | ||
Comment 4•4 years ago
|
||
Should it use collapsed instead to do that automatically?
Assignee | ||
Comment 5•4 years ago
|
||
collapsed can work, let me try it.
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
collapsed
worked here.
Reporter | ||
Comment 8•4 years ago
|
||
Comment on attachment 9189812 [details] [diff] [review] Bug-1679247_de-dack-EdAdvancedEdit-xhtml-0.patch Review of attachment 9189812 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, r=mkmelin
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 9•4 years ago
|
||
Comment on attachment 9189812 [details] [diff] [review] Bug-1679247_de-dack-EdAdvancedEdit-xhtml-0.patch Review of attachment 9189812 [details] [diff] [review]: ----------------------------------------------------------------- ::: mail/components/compose/content/dialogs/EdAEHTMLAttributes.js @@ +194,4 @@ > if (listLen > 1) { > gDialog.AddHTMLAttributeValueMenulist.removeAllItems(); > > + if (attributeValueMenulistCollapsed) { actually, looks like this is not really needed. I'll update the patch slightly
Comment 10•4 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/cd6c7748dcbc
remove <deck> from EdAdvancedEdit.xhtml. r=mkmelin
Description
•