Closed Bug 1784408 Opened 3 years ago Closed 3 years ago

remove Thunderbird usage of XUL flex="N" where N is not 0 or 1

Categories

(Thunderbird :: Mail Window Front End, task)

Tracking

(thunderbird_esr102 unaffected, thunderbird104 unaffected)

RESOLVED FIXED
105 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird104 --- unaffected

People

(Reporter: mkmelin, Assigned: Paenglab)

References

Details

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug # 1784265 +++

grep --exclude-dir=suite --exclude-dir=.hg -r 'flex="' | grep -v 'flex="1"'

Seems mostly used for treecol.
Some of these are likely not needed. Others can be replaced with style=-moz-box-flex: <number>

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Target Milestone: --- → 105 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/40f49f187486
Port bug 1784265: Drop support for flex attribute values other than 0 and 1. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

You missed:
https://searchfox.org/comm-central/search?q=searchTerm.*FlexValue&path=.dtd&case=false&regexp=true
and more importantly
https://searchfox.org/l10n/search?q=searchTerm.*FlexValue&path=&case=false&regexp=true

This https://searchfox.org/comm-central/rev/4e4fef324e845be075f07a795fade91aa10d6d9a/mailnews/search/content/searchTerm.inc.xhtml#19-24 is a horrible attempt to localise the flexing in the search term editor by transferring localisable flex values from a hidden tree onto list cells.
Careful when removing that hidden tree, it's used here:
https://searchfox.org/comm-central/rev/4e4fef324e845be075f07a795fade91aa10d6d9a/mailnews/search/content/searchTerm.js#452,458
Sadly not accessed via ID but rather position in the DOM.

Oops, sorry, apologies, didn't read to the end :-( - The mechanism is still rather questionable.

A try run with the diagnostics patch found one case we missed.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/dd19aae1bd0a
Remove unsupported flex attribute in menulist-editable. r=Paenglab

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: