[wpt-sync] Sync PR 27853 - html: autofocus should work even if the URL contains a non-empty fragment
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27853 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27853
Details from upstream follow.
b'Kent Tamura <tkent@chromium.org>' wrote:
html: autofocus should work even if the URL contains a non-empty fragment
This CL implements the specification change of [1].
- Check existence of :target instead of a non-empty fragment
- Accept autofocus only if all ancestors are in the same origin
- Fix WPT document-with-fragment-valid.html
[1] https://github.com/whatwg/html/pull/6204
Bug: 1046357
Change-Id: Ic83b00b7b48ee94f087974368b5daec98849fc49
Reviewed-on: https://chromium-review.googlesource.com/2727997
WPT-Export-Revision: 1336375146c6f787dea098e9771496ce16ce8860
Assignee | ||
Comment 1•3 years ago
|
||
PR 27853 applied with additional changes from upstream: d05fefcf165fd03947238957b00b0ca35c45213c
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=6f55422555a181a9ab1d0df0030f3f3fcc951059
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
PASS : 2
Chrome
PASS : 1
TIMEOUT: 2
Safari
FAIL : 1
TIMEOUT: 2
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/308a083fb3a3 [wpt PR 27853] - html: autofocus should work even if the URL contains a non-empty fragment, a=testonly
Comment 5•3 years ago
|
||
bugherder |
Description
•