Support string values for capture attribute. (#11424)

* Uses HAS_OVERLOADED_BOOLEAN_VALUE instead of HAS_BOOLEAN_VALUE
  * Allows for <input type="file" capture="user" />
Fixes #11419
This commit is contained in:
Max Schmeling authored and Nathan Hunzaker committed 2017-11-12 09:29:27 -05:00
1 parent acabf11245
commit 2fe3494f0d
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ var HTMLDOMPropertyConfig = {
// autoFocus is polyfilled/normalized by AutoFocusUtils
// autoFocus: HAS_BOOLEAN_VALUE,
autoPlay: HAS_BOOLEAN_VALUE,
capture: HAS_BOOLEAN_VALUE,
capture: HAS_OVERLOADED_BOOLEAN_VALUE,
checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
cols: HAS_POSITIVE_NUMERIC_VALUE,
contentEditable: HAS_STRING_BOOLEAN_VALUE,