This is a follow-up to #4784.

The `capture` attribute on `input` elements is currently supported, but it is configured as a `HAS_BOOLEAN_VALUE` attribute: https://github.com/facebook/react/blob/1eed302d346bfb8f5db8d88b0e7096d8999d3548/packages/react-dom/src/shared/HTMLDOMPropertyConfig.js#L33

This causes
```
<input type="file" capture="user" />
```
to render as
```
<input type="file" capture />
```

The `capture` attribute supports strings though: https://www.w3.org/TR/html-media-capture/#the-capture-attribute

This is very important for being able to configure the default camera selected on mobile devices.
DOMMutationMethods: {
    value: function(node, value) {
      if (value == null) {
        return node.removeAttribute('value');
      }
      
      
      
      if (node.type !== 'number' || node.hasAttribute('value') === false) {
        node.setAttribute('value', '' + value);
      } else if (
        node.validity &&
        !node.validity.badInput &&
        node.ownerDocument.activeElement !== node
      ) {
        
        
        
        
        
        
        
        
        node.setAttribute('value', '' + value);
      }
    },
  },
};
export default HTMLDOMPropertyConfig;