Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Add test for dispatchFormInput and dispatchFormChange
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsLeenheer committed Aug 31, 2010
1 parent aecf88d commit a0aaa76
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions index.html
Expand Up @@ -1903,25 +1903,37 @@ <h2>
var inputItem = group.setItem({
title: '<code>input</code> event for fields',
passed: isEventSupported('input'),
value: 2
value: 1
});

var changeItem = group.setItem({
title: '<code>change</code> event for fields',
passed: isEventSupported('change'),
value: 2
value: 1
});

var forminputItem = group.setItem({
title: '<code>forminput</code> event for forms',
passed: isEventSupported('forminput'),
value: 2
value: 1
});

var formchangeItem = group.setItem({
title: '<code>formchange</code> event for forms',
passed: isEventSupported('formchange'),
value: 2
value: 1
});

group.setItem({
title: '<code>dispatchFormInput</code> function for forms',
passed: 'dispatchFormInput' in document.createElement('form'),
value: 1
});

group.setItem({
title: '<code>dispatchFormChange</code> function for forms',
passed: 'dispatchFormChange' in document.createElement('form'),
value: 1
});

if (document.createEvent) {
Expand Down

0 comments on commit a0aaa76

Please sign in to comment.