| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 Found 10 tests. 9 PASS 1 FAIL 0 TIMEOUT 0 NOTRUN |
| 2 PASS Adding open to 'details' should fire a toggle event at the 'details' elemen
t | 3 PASS Adding open to 'details' should fire a toggle event at the 'details' elemen
t |
| 3 PASS Removing open from 'details' should fire a toggle event at the 'details' el
ement | 4 PASS Removing open from 'details' should fire a toggle event at the 'details' el
ement |
| 4 PASS Adding open to 'details' (display:none) should fire a toggle event at the '
details' element | 5 PASS Adding open to 'details' (display:none) should fire a toggle event at the '
details' element |
| 5 PASS Adding open from 'details' (no children) should fire a toggle event at the
'details' element | 6 PASS Adding open from 'details' (no children) should fire a toggle event at the
'details' element |
| 6 PASS Calling open twice on 'details' fires only one toggle event | 7 PASS Calling open twice on 'details' fires only one toggle event |
| 7 PASS Calling setAttribute('open', '') to 'details' should fire a toggle event at
the 'details' element | 8 PASS Calling setAttribute('open', '') to 'details' should fire a toggle event at
the 'details' element |
| 8 PASS Calling removeAttribute('open') to 'details' should fire a toggle event at
the 'details' element | 9 PASS Calling removeAttribute('open') to 'details' should fire a toggle event at
the 'details' element |
| 9 FAIL Setting open=true to opened 'details' element should not fire a toggle even
t at the 'details' element assert_true: expected true got false | 10 FAIL Setting open=true to opened 'details' element should not fire a toggle even
t at the 'details' element assert_true: expected true got false |
| 10 PASS Setting open=false to closed 'details' element should not fire a toggle eve
nt at the 'details' element | 11 PASS Setting open=false to closed 'details' element should not fire a toggle eve
nt at the 'details' element |
| 11 PASS Adding open to 'details' (not in the document) should fire a toggle event a
t the 'details' element | 12 PASS Adding open to 'details' (not in the document) should fire a toggle event a
t the 'details' element |
| 12 Harness: the test ran to completion. | 13 Harness: the test ran to completion. |
| 13 | 14 |
| OLD | NEW |