Closed Bug 2060563 Opened 4 months ago Closed 2 months ago

Port bug 2052180: Convert `selected` to a standard boolean attribute for the remaining XUL select-control widgets

Categories

(Thunderbird :: Upstream Synchronization, task)

Thunderbird 155
task

Tracking

(thunderbird_esr153 wontfix, thunderbird156 wontfix)

RESOLVED FIXED
157 Branch
Tracking Status
thunderbird_esr153 --- wontfix
thunderbird156 --- wontfix

People

(Reporter: freaktechnik, Assigned: mkmelin)

References

Details

Attachments

(1 external file)

This is a clone of bug 2060003 to clean up the JS interactions with the selected attribute. We often still set it to true or "true" instead of treating it as a pure boolean attribute. And at least one place seems to use getAttribute instead of hasAttribute to check if it's active. I think everything should work fine as-is for now though.

Component: Mail Window Front End → Upstream Synchronization

Bugs:

  • tab:not([selected="true"]):hover in preferences.css has always matched
    since bug 1849907 made <tab> boolean, so the hover style was applied to
    the selected tab too.
  • The menuitem [selected="true"] rules (context menus, the account manager
    and OpenPGP dropdowns, the osx menulist checkmark) stopped matching when
    bug 2052180 converted toolkit's menulist, so a menulist's current item lost
    its checkmark and highlight.
  • .box-line[selected="true"] in chat.css, which is fed the attribute inherited
    from the richlistitem, lost the conversation tabline indicator.

Dead code:

  • filterDialog.css: listitem no longer exits
  • .selected-text / .unselected-text : never used
  • msgFeedSummaryBody selected="false": not used for anything
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Target Milestone: --- → 157 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/8a80e178e117
Port bug 2052180: Convert selected to a standard boolean attribute for the remaining XUL select-control widgets. r=arschmitz

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: