Open Bug 2081739 Opened 1 month ago Updated 24 days ago

Disabled controls inside a moz-fieldset become enabled

Categories

(Toolkit :: UI Widgets, defect)

defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr153 --- wontfix
firefox158 --- wontfix
firefox159 --- wontfix
firefox160 --- wontfix

People

(Reporter: leo, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

Controls that are explicitly disabled inside a moz-fieldset get re-enabled by the fieldset, even when the fieldset itself is never disabled.

Steps to reproduce:

Render:

<moz-fieldset label="Test label">
  <input type="checkbox" disabled />
  <moz-checkbox label="Disabled setting" disabled></moz-checkbox>
</moz-fieldset>

Expected: both checkboxes are disabled.
Actual: both checkboxes are enabled and can be toggled.

The same happens if the fieldset is disabled and then re-enabled: children that were disabled before the fieldset was disabled come back enabled.

Set release status flags based on info from the regressing bug 1958085

:jooliver, since you are the author of the regressor, bug 1958085, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(jooliver)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: