1 | 1 | Tests to ensure that moving mouse from 'summary' to 'details' should dispatch events correctly. Note that 'details' is a shadow host and has a 'summary' element as a immediate child element. There is no shadow root between them.
2 | 2 |
3 | 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4 | 4 |
5 | 5 |
6 |  | summary
7 |  | details
8 | 6 |
9 | 7 | Moving mouse from summary to details
10 |  | PASS dispatchedEvent("mouseover") is ["details(<-summary)(@details)", "details(<-summary)(@sandbox)"]
11 |  | PASS dispatchedEvent("mouseout") is ["summary(<-details)(@summary)", "summary(<-details)(@details)", "summary(<-details)(@sandbox)"]
| 8 | FAIL dispatchedEvent("mouseover") should be details(<-summary)(@details),details(<-summary)(@sandbox). Was details(<-)(@details),details(<-)(@sandbox).
| 9 | FAIL dispatchedEvent("mouseout") should be summary(<-details)(@summary),summary(<-details)(@details),summary(<-details)(@sandbox). Was .
12 | 10 |
13 | 11 | Moving mouse from details to summary
14 |  | PASS dispatchedEvent("mouseover") is ["summary(<-details)(@summary)", "summary(<-details)(@details)", "summary(<-details)(@sandbox)"]
15 |  | PASS dispatchedEvent("mouseout") is ["details(<-summary)(@details)", "details(<-summary)(@sandbox)"]
| 12 | FAIL dispatchedEvent("mouseover") should be summary(<-details)(@summary),summary(<-details)(@details),summary(<-details)(@sandbox). Was .
| 13 | FAIL dispatchedEvent("mouseout") should be details(<-summary)(@details),details(<-summary)(@sandbox). Was details(<-)(@details),details(<-)(@sandbox).
16 | 14 | PASS successfullyParsed is true
17 | 15 |
18 | 16 | TEST COMPLETE
19 | 17 |