html/interaction/focus/the-autofocus-attribute/
37 / 37 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 26
- Blocking files
- 0
Chrome 36 / 37 WPT subtests passing on the same files, 1 blocking
Tests
26 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
autofocus-area.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- autofocus works on area element
autofocus-dialog.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- <dialog> can contain autofocus, without stopping page autofocus content from working
- <dialog>-contained autofocus element gets focused when the dialog is shown
autofocus-in-not-fully-active-document.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Autofocus element in not-fully-active document should not be queued.
autofocus-not-processed-when-top-document-has-focused-element.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- If topDocument's focused area is topDocument but has a focused element, autofocus is not processed.
autofocus-on-stable-document.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Autofocus should work if an element with autofocus is inserted into a document which was loaded some time ago.
document-with-fragment-empty.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Autofocus elements in iframed documents with empty fragments should work.
- Autofocus elements in top-level browsing context's documents with empty fragments should work.
document-with-fragment-nonexistent.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Autofocus elements in iframed documents with non-existent fragments should work.
- Autofocus elements in top-level browsing context's documents with non-existent fragments should work.
document-with-fragment-removed-target.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Autofocus should be skipped when the target element has been removed from the document.
document-with-fragment-top.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Autofocus elements in iframed documents with "top" fragments should work.
- Autofocus elements in top-level browsing context's documents with "top" fragments should work.
document-with-fragment-valid.html 3 / 3 passingChrome 2 / 30 failedClean
3 passing subtests
- Autofocus elements in iframed documents with URL fragments should be skipped. (id matches)
- Autofocus elements in iframed documents with URL fragments should be skipped.(a element)
- Autofocus elements in top-level browsing context's documents with URL fragments should be skipped.
first-reconnected.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The second autofocus element wins if the first autofocus element was disconnected and reconnected before flushing the autofocus candidates.
first-when-later-but-before.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The temporally first autofocus in the document wins, even if an element is inserted later that is previous in the document tree.
first-when-later.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The first autofocus in the document wins, even if elements are inserted later.
first.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The first autofocus element in the document should win.
focusable-area-in-top-document.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- If topDocument's focused area is not topDocument, autofocus is not processed.
no-autofocus-on-changing-input-type.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Changing input type should not refocus on the element.
no-cross-origin-autofocus.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Autofocus shouldn't work in cross-origin iframe
no-sandboxed-automatic-features.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- If the sandboxed automatic features browsing context flag is set, autofocus in the browsing context should not be handled.
not-on-first-task.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The element is not focused during the initial parsing task
queue-non-focusable.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- If the first autofocus element is not focusable, but becomes focusable before a frame, it should be focused.
same-origin-autofocus.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Autofocus should not work in the same origin grand child iframe
skip-another-top-level-browsing-context.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Autofocus elements queued in another top-level browsing context's documents should be skipped.
skip-non-focusable.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Non-focusable autofocus element is skipped.
skip-not-fully-active.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Autofocus element in not-fully-active document should be skipped while flusing.
spin-by-blocking-style-sheet.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Script-blocking style sheet should pause flushing autofocus candidates.
supported-elements.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Contenteditable element should support autofocus
- Element with tabindex should support autofocus
- Non-HTMLElement should not support autofocus
- Host element with delegatesFocus should support autofocus
- Host element with delegatesFocus including no focusable descendants should be skipped
- Area element should support autofocus