Skip to content
Permalink
Browse files

Update boolean attribute list to contain all boolean attributes liste…

…d in w3c
  • Loading branch information...
timmywil
timmywil committed May 5, 2011
1 parent cccf9ad commit f30cd4155effded691e62d9700912b2a2771ac63
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/attributes.js
@@ -6,7 +6,7 @@ var rclass = /[\n\t\r]/g,
rtype = /^(?:button|input)$/i,
rfocusable = /^(?:button|input|object|select|textarea)$/i,
rclickable = /^a(?:rea)?$/i,
rboolean = /^(?:autobuffer|autofocus|autoplay|async|checked|compact|controls|declare|defer|disabled|formnovalidate|ismap|loop|multiple|noresize|noshade|nowrap|novalidate|open|pubdate|readonly|required|reversed|seamless|selected)$/i,
rboolean = /^(?:autobuffer|autofocus|autoplay|async|checked|compact|controls|declare|defaultmuted|defaultselected|defer|disabled|draggable|formnovalidate|hidden|indeterminate|ismap|itemscope|loop|multiple|muted|nohref|noresize|noshade|nowrap|novalidate|open|pubdate|readonly|required|reversed|scoped|seamless|selected|spellcheck|truespeed|visible)$/i,
rinvalidChar = /\:/,
formHook, boolHook;

0 comments on commit f30cd41

Please sign in to comment.
You can’t perform that action at this time.