Closed Bug 1958085 Opened 1 year ago Closed 1 year ago

Support disabled on moz-fieldset

Categories

(Toolkit :: UI Widgets, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: mstriemer, Assigned: jooliver)

References

(Regressed 1 open bug)

Details

(Whiteboard: [recomp] [acorntractors])

Attachments

(1 external file)

When a fieldset is disabled all of its sub inputs should be disabled. This is currently not working for moz-fieldset.

Acceptance Criteria:

  • When a moz-fieldset has the disabled attribute all child inputs are disabled
    • This should work for HTML inputs and moz- widgets that support disabled
    • The changes in bug 1955265 to support the parentDisabled property may come in handy for moz- widgets

Was there a specific use-case in mind for solving this, to help us know if this should be in Phase 2?

Flags: needinfo?(mstriemer)

I'm not seeing any places in the Figma where we nest a fieldset, or require an entire section to be disabled so this is potentially not needed for Phase 2. It does seem like something that is somewhat expected though, so I could see it being used even if it isn't currently used

Flags: needinfo?(mstriemer)
Whiteboard: [recomp] → [recomp] [acorntractors]
Assignee: nobody → jooliver
Status: NEW → ASSIGNED

Adds support for disabling child form controls when moz-fieldset is disabled

Pushed by tgiles@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b1e2ab8ecfb3 https://hg.mozilla.org/integration/autoland/rev/fbe0fdafcb66 support disabled attribute on moz-fieldset r=reusable-components-reviewers,tgiles
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [qa-triage-done-c144/b143]
Regressions: 2081739
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: