Extensions-to-Event-Interface.html
Details
- Test
/shadow-dom/Extensions-to-Event-Interface.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | composedPath() must return an empty array when the event has not been dispatched |
| PASS | composedPath() must return an empty array when the event is no longer dispatched |
| PASS | composed on EventInit must default to false |
| PASS | composed on EventInit must set the composed flag |
| FAIL | The event must propagate out of open mode shadow boundaries when the composed flag is set assert_array_equals: lengths differ, expected array ["A1a", "A1-SR", "A1", "A-SR", "A"] length 5, got ["A1a", "A1-SR", "A1", "A-SR", "A", undefined] length 6 |
| FAIL | The event must propagate out of closed mode shadow boundaries when the composed flag is set assert_array_equals: lengths differ, expected array ["A1a", "A1-SR", "A1", "A-SR", "A"] length 5, got ["A1a", "A1-SR", "A1", "A-SR", "A", undefined] length 6 |
| PASS | The event must not propagate out of open mode shadow boundaries when the composed flag is unset |
| PASS | The event must not propagate out of closed mode shadow boundaries when the composed flag is unset |
| PASS | The event must not propagate out of open mode shadow boundaries when the composed flag is unset on an event with relatedTarget |
| PASS | The event must not propagate out of closed mode shadow boundaries when the composed flag is unset on an event with relatedTarget |
| PASS | The event must not propagate out of open mode shadow tree of the target but must propagate out of inner shadow trees when the scoped flag is set |
| PASS | The event must not propagate out of closed mode shadow tree of the target but must propagate out of inner shadow trees when the scoped flag is set |
| FAIL | The event must propagate out of open mode shadow tree in which the relative target and the relative related target are the same assert_array_equals: lengths differ, expected array ["A1a", "A1-SR", "A1", "A-SR"] length 4, got ["A1a", "A1-SR", "A1", "A-SR", "A", undefined] length 6 |
| FAIL | The event must propagate out of closed mode shadow tree in which the relative target and the relative related target are the same assert_array_equals: lengths differ, expected array ["A1a", "A1-SR", "A1", "A-SR"] length 4, got ["A1a", "A1-SR", "A1", "A-SR", "A", undefined] length 6 |
| FAIL | composedPath() must contain and only contain the unclosed nodes of target in open mode shadow trees assert_array_equals: lengths differ, expected array ["B1a", "B1c-S", "B1-SR", "B1", "B-SR", "B", "A2-S", "A-SR", "A"] length 9, got ["B1a", "B1c-S", "B1-SR", "B1", "B-SR", "B", "A2-S", "A-SR", "A", un… |
| FAIL | composedPath() must contain and only contain the unclosed nodes of target in closed mode shadow trees assert_array_equals: lengths differ, expected array ["B1a", "B1", "B-SR", "B", "A"] length 5, got ["B1a", "B1", "B-SR", "B", "A", undefined] length 6 |