event-post-dispatch-no-listeners.html
Details
- Test
/shadow-dom/event-post-dispatch-no-listeners.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | Event properties post dispatch with an open ShadowRoot and no listeners (composed: true) assert_equals: event.target should be the shadow host (retargeted) after dispatch expected Element node <div id="host">
</div> but got Element node <div id="target"></div> |
| FAIL | Event properties post dispatch with an open ShadowRoot and no listeners (composed: false) assert_equals: event.target should be null for non-composed event inside shadow tree expected null but got Element node <div id="target"></div> |
| FAIL | Event properties post dispatch with a closed ShadowRoot and no listeners (composed: true) assert_equals: event.target should be the shadow host (retargeted) after dispatch expected Element node <div id="host">
</div> but got Element node <div id="target"></div> |
| FAIL | Event properties post dispatch with nested open ShadowRoots and no listeners (composed: true) assert_equals: event.target should be the outermost shadow host after dispatch expected Element node <div id="host1">
</div> but got Element node <div id="target"></div> |
| FAIL | Event properties post dispatch with a disabled element in shadow tree and no listeners (composed: true) assert_equals: event.target should be the shadow host (retargeted) after dispatch expected Element node <div id="host">
</div> but got Element node <input id="target" disabled=""></input> |