Skip to content

Commit

Permalink
Add some missing attributes
Browse files Browse the repository at this point in the history
Mostly this was to better support some HTML5 stuff. This was not a complete pass through though, and we should probably add more.
  • Loading branch information
zpao committed Jul 8, 2013
1 parent 91562ba commit 203dba2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/dom/DefaultDOMPropertyConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,22 @@ var DefaultDOMPropertyConfig = {
/**
* Standard Properties
*/
accessKey: null,
accept: null,
action: null,
ajaxify: MUST_USE_ATTRIBUTE,
allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
alt: null,
autoComplete: null,
autofocus: HAS_BOOLEAN_VALUE,
autoplay: HAS_BOOLEAN_VALUE,
cellPadding: null,
cellSpacing: null,
checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
className: MUST_USE_PROPERTY,
colSpan: null,
contentEditable: null,
contextMenu: MUST_USE_ATTRIBUTE,
controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
data: null, // For `<object />` acts as `src`.
dateTime: MUST_USE_ATTRIBUTE,
Expand All @@ -57,21 +60,30 @@ var DefaultDOMPropertyConfig = {
hidden: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
href: null,
htmlFor: null,
icon: null,
id: MUST_USE_PROPERTY,
label: null,
lang: null,
list: null,
max: null,
maxLength: MUST_USE_ATTRIBUTE,
method: null,
min: null,
multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
name: null,
pattern: null,
poster: null,
preload: null,
placeholder: null,
radiogroup: null,
rel: null,
readOnly: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
required: HAS_BOOLEAN_VALUE,
role: MUST_USE_ATTRIBUTE,
scrollLeft: MUST_USE_PROPERTY,
scrollTop: MUST_USE_PROPERTY,
selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
size: null,
spellCheck: null,
src: null,
step: null,
Expand Down

0 comments on commit 203dba2

Please sign in to comment.