web-platform-tests/wpt
Voir sur GitHubExpand event-handler-attributes-body-window.html
Open
#2 314 ouverte le 10 nov. 2015
good first issuehtmltype:missing-coverage
Métriques du dépôt
- Stars
- (4 581 stars)
- Métriques de merge PR
- (Merge moyen 6j 7h) (626 PRs mergées en 30 j)
Description
The test at html/webappapis/scripting/events/event-handler-attributes-body-window.html could be expanded. For example, currently it tests
document.body['on' + handler] = f;
assert_equals(window['on' + handler], f);
while it could also test the opposite direction:
window['on' + handler] = f;
assert_equals(document.body['on' + handler], f);
Also, it would be useful to test with:
- a
framesetas the body - a
framesetorbodyelement that's not in a document - a
framesetorbodyelement that's not the body element (for example, with multiple body elements in the DOM).