-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d80f98b
commit 37bd554
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/*! | ||
{ | ||
"name": "input formaction", | ||
"property": "inputformaction", | ||
"aliases": ["input-formaction"], | ||
"notes": [{ | ||
"name": "WHATWG Spec", | ||
"href": "http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-formaction" | ||
}, { | ||
"name": "Wufoo demo", | ||
"href": "http://www.wufoo.com/html5/attributes/13-formaction.html" | ||
}], | ||
"polyfills": [ | ||
"webshims" | ||
] | ||
} | ||
!*/ | ||
/* DOC | ||
Detect support for the formaction attribute on form inputs | ||
*/ | ||
define(['Modernizr', 'createElement'], function( Modernizr, createElement ) { | ||
Modernizr.addTest('inputformaction', !!('formAction' in createElement('input')), { aliases: ['input-formaction'] }); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters