Closed Bug 1726559 Opened 4 years ago Closed 4 years ago

In account setup disabled buttons can sometime still change the background colour

Categories

(Thunderbird :: Theme, defect)

defect

Tracking

(thunderbird_esr91+ fixed, thunderbird92+ fixed, thunderbird93 affected)

RESOLVED FIXED
93 Branch
Tracking Status
thunderbird_esr91 + fixed
thunderbird92 + fixed
thunderbird93 --- affected

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(1 file)

The "Continue" button is normally disabled, no hover change. But when the password field has some value it can change the background colour. This comes because initially the button has disabled="disabled" and after the PW-field change only disabled="". Then the CSS rule does no more correctly apply.

We need to split the selectors between XUL and HTML namespaces because only a check for [disabled] could cause undesired side effects with XUL buttons that are no more disabled because of the removed "true". For HTML buttons only the [disabled] selector is important for the state.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9237037 - Flags: review?(alessandro)
Comment on attachment 9237037 [details] [diff] [review] 1726559-button-disabled.patch Review of attachment 9237037 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks.
Attachment #9237037 - Flags: review?(alessandro) → review+

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/65aaac3b0c7c
Split some button selectors to html and xul namespaces. r=aleca

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

Comment on attachment 9237037 [details] [diff] [review]
1726559-button-disabled.patch

[Approval Request Comment]
User impact if declined: in account creation disabled button can give hover feedback
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): should be low

Attachment #9237037 - Flags: approval-comm-esr91?
Attachment #9237037 - Flags: approval-comm-beta?

Comment on attachment 9237037 [details] [diff] [review]
1726559-button-disabled.patch

[Triage Comment]
Approved for beta

Attachment #9237037 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9237037 [details] [diff] [review]
1726559-button-disabled.patch

[Triage Comment]
Approved for esr91

Attachment #9237037 - Flags: approval-comm-esr91? → approval-comm-esr91+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: