Closed Bug 1935367 Opened 1 year ago Closed 6 months ago

Form associated custom element does not fire 'dragstart' event

Categories

(Core :: DOM: Forms, defect)

Firefox 133
defect

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- wontfix
firefox-esr140 --- wontfix
firefox133 --- wontfix
firefox134 --- wontfix
firefox135 --- wontfix
firefox148 --- wontfix
firefox149 --- wontfix
firefox150 --- fixed

People

(Reporter: kevin.linaker, Assigned: ltenenbaum)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0

Steps to reproduce:

I can reproduce it here: https://jsfiddle.net/6bj0v317/

Steps:

  1. Add formAssociated getter to a custom element and have it return true
  2. Attempt to drag the element

Actual results:

The dragstart event does not fire when the element is form associated.

Expected results:

The dragstart event fires like it normally does.

Component: Untriaged → DOM: Forms
Product: Firefox → Core
Flags: needinfo?(echen)
Flags: needinfo?(echen)
Severity: -- → S3

This bug has been marked as a regression. Setting status flag for Nightly to affected.

Assignee: nobody → ltenenbaum
Status: NEW → ASSIGNED
Pushed by pstanciu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a6a5a9c4e374 https://hg.mozilla.org/integration/autoland/rev/915cb9be3f28 Revert "Bug 1935367 - Allow dragging inside form-associated custom elements. r=dom-core,avandolder" for causing wpt failures @dragstart-form-associated-custom-element.html * [Backout link]() - recommended without hyperlink

Backed out for causing wpt failures @dragstart-form-associated-custom-element.html

Flags: needinfo?(ltenenbaum)
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/58128 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Flags: needinfo?(ltenenbaum)
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: