Closed Bug 1904813 Opened 1 year ago Closed 8 months ago

popovertarget on a reset button in a form opens popover

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: lwarlow, Assigned: keithamus)

Details

See https://wpt.live/html/semantics/popovers/button-type-reset-popovertarget.tentative.html

Firefox currently supports popovers on a reset button when it's in a form, which does not match WebKit or Chromium

The same is also true for <input type="reset"> which is a separate code path and doesn't currently have test coverage though it needs adding.

Assignee: nobody → lwarlow
Severity: -- → S3

This might actually end up being a bug with WebKit, Chromium and the test rather than a Firefox one. If that's determined to be the case I'll make sure to close this bug out.

Assignee: lwarlow → mozilla
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

See https://github.com/whatwg/html/pull/11053

reset input and buttons should no longer trigger popover target activation behaviour when inside a form. While a breaking change Chromium never supported this and WebKit originally didn't for buttons so it's unlikely sites rely on this.

Status: REOPENED → RESOLVED
Closed: 1 year ago8 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.