html/semantics/interactive-elements/the-details-element/

38 / 40 WPT subtests passing

Failed
2
Timed out
0
Not run
0
Test files
16
Blocking files
0

Chrome 40 / 40 WPT subtests passing on the same files, none blocking, 9 without a result

Tests

16 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
auto-expand-ax-slot-recalc-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/auto-expand-ax-slot-recalc-crash.html PASS none reported

No subtests were reported.

auto-expand-details-element-fragment.html0 / 1 passingChrome 1 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a renderer answers geometry

navigating to #target opens the closed details element (that assertion passes); the second assertion reads window.pageYOffset after the fragment scroll, which needs the target's layout position below a 2000px spacer - with no renderer the scroll position stays 0

Failing assertion
assert_not_equals: The page should be scrolled down to the <details> element. got disallowed value 0
  1. FAILauto-expand-details-element-fragment
    assert_not_equals: The page should be scrolled down to the <details> element. got disallowed value 0
auto-expand-window-find-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/auto-expand-window-find-crash.html PASS none reported

No subtests were reported.

details-cq-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/details-cq-crash.html PASS none reported

No subtests were reported.

details-findstring-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/details-findstring-crash.html PASS none reported

No subtests were reported.

details-keyboard-activation.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Details activation with space bar
details-name-exclusivity-fragment-insertion.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that inserting two open details elements with the same name via DocumentFragment results in exactly one being open.
details-toggle-source.html2 / 3 passingChrome 3 / 31 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
  1. FAILToggleEvent.source on <details> elements: click details.
    assert_true: An opening toggle event should have been fired. expected true got false
2 passing subtests
  1. ToggleEvent.source on <details> elements: details.open.
  2. ToggleEvent.source on <details> elements: click summary.
details.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. HTML parsing should locate 2 details elements in this document
  2. HTML parsing should close an unclosed <p> before <details>
  3. HTMLDetailsElement should be exposed for prototyping
  4. a dynamically created details element should be instanceof HTMLDetailsElement
  5. a details element from the parser should be instanceof HTMLDetailsElement
display-table-with-rt-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/display-table-with-rt-crash.html PASS none reported

No subtests were reported.

modified-details-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/modified-details-crash.html PASS none reported

No subtests were reported.

name-attribute-dynamic-removal-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/name-attribute-dynamic-removal-crash.html PASS none reported

No subtests were reported.

name-attribute.html18 / 18 passingChrome 18 / 180 failedClean
Standing
Clean runner status OK
Chrome
Clean 18 / 18 WPT subtests passing runner status OK
18 passing subtests
  1. basic handling of mutually exclusive details
  2. more complex handling of mutually exclusive details
  3. mutually exclusive details across multiple names and multiple tree scopes
  4. mutation event and toggle event order
  5. interaction of open attribute changes with mutation events
  6. empty and missing name attributes do not create groups
  7. exclusivity enforcement with attachment scenario connected
  8. exclusivity enforcement with attachment scenario disconnected
  9. exclusivity enforcement with attachment scenario shadow
  10. exclusivity enforcement with attachment scenario shadow-in-disconnected
  11. exclusivity enforcement with attachment scenario template-in-disconnected
  12. exclusivity enforcement with attachment scenario connected-in-xhr-response
  13. exclusivity enforcement with attachment scenario connected-in-implementation-create-document
  14. exclusivity enforcement with attachment scenario connected-in-template
  15. handling of name attribute changes
  16. closing as a result of parsing doesn't depend on attribute order
  17. handling of insertion of elements into group
  18. basic handling of mutually exclusive details when the element isn't connected
nested-details-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/nested-details-crash.html PASS none reported

No subtests were reported.

nested-top-layer-elements-in-details-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-details-element/nested-top-layer-elements-in-details-crash.html PASS none reported

No subtests were reported.

toggleEvent.html11 / 11 passingChrome 11 / 110 failedClean
Standing
Clean runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
11 passing subtests
  1. Adding open to 'details' should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open'
  2. Adding open to 'details' and then removing open from that 'details' should fire only one toggle event at the 'details' element, with 'oldState: closed' and 'newState: closed'
  3. Adding open to 'details' (display:none) should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open'
  4. Adding open to 'details' (no children) should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open'
  5. Adding open to 'details' and then removing open from that 'details' and then again adding open to that 'details' should fire only one toggle event at the 'details' element, with 'oldState: closed' and 'newState: closed'
  6. Adding open to 'details' using setAttribute('open', '') should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open'
  7. Adding open to 'details' and then calling removeAttribute('open') should fire only one toggle event at the 'details' element, with 'oldState: closed' and 'newState: closed'
  8. Setting open=true on an opened 'details' element should not fire a toggle event at the 'details' element
  9. Setting open=false on a closed 'details' element should not fire a toggle event at the 'details' element
  10. Adding open to 'details' (not in the document) should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open'
  11. Setting open from the parser fires a toggle event

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.