Closed Bug 1754918 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 32811 - `ListedElement::reportValidity` should show the validation message even if the element is not focusable.

Categories

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

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Russell Bicknell <bicknellr@google.com> wrote:

ListedElement::reportValidity should show the validation message even if the element is not focusable.

The specification says:
https://html.spec.whatwg.org/C/#report-validity-steps

If report is true, then report the problems with the constraints of this
element to the user. When reporting the problem with the constraints to the
user, the user agent may run the focusing steps for element, ...

Bug: 1139621
Change-Id: I029802f9110dd7cd90d38bb44cf4be3ee75f3689
Reviewed-on: https://chromium-review.googlesource.com/3448132
WPT-Export-Revision: 41c255e4b77e3e4781ae3b0b7acc34e8585fdf46

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d51235a0a0b2 [wpt PR 32811] - `ListedElement::reportValidity` should show the validation message even if the element is not focusable., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.