Closed Bug 1821114 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 38887 - Prevent fieldsets from being disabled form controls

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 38887 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/38887
Details from upstream follow.

Joey Arhar <jarhar@chromium.org> wrote:

Prevent fieldsets from being disabled form controls

Fieldset elements themselves aren't actually supposed to be disabled
form controls, they are just supposed to make their descendant field
control elements disabled:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-fe-disabled

This was causing a bug where SendMouseEventsDisabledFormControls
prevents click/mouseup/mousedown events from being propagated at or
above disabled fieldset elements.

Fixed: 1422096, 1422547
Bug: 588760
Change-Id: Ifb76ac92f7f36b097666b4384f6de4bd561547cd

Reviewed-on: https://chromium-review.googlesource.com/4321065
WPT-Export-Revision: fb591a2d7bd48a501162e096f2da1ea3c1cb8dca

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4045eb9efb8a [wpt PR 38887] - Prevent fieldsets from being disabled form controls, a=testonly https://hg.mozilla.org/integration/autoland/rev/e22106d795d8 [wpt PR 38887] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.