[wpt-sync] Sync PR 16641 - Don't allow cross-origin iframes to autofocus.
Categories
(Core :: DOM: Core & HTML, defect, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 16641 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/16641
Details from upstream follow.
Mustaq Ahmed <mustaq@google.com> wrote:
Don't allow cross-origin iframes to autofocus.
According to the spec, the "autofocus" attribute shouldn't work for
cross-origin iframes, see Step 6 here:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofocusing-a-form-control:-the-autofocus-attributeFF works as per spec already.
Bug: 958378
Change-Id: Ia887b7ea67808284c61bdb39bd83b7788cf09db7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1593026
Commit-Queue: Mustaq Ahmed \<mustaq@chromium.org>
Reviewed-by: Dave Tapuska \<dtapuska@chromium.org>
Reviewed-by: Chris Harrelson \<chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#656189}
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
| bugherder | ||
Description
•