*Bug*

When a `textarea` has the `required` attribute it renders in the invalid state using FireFox. 

This behavior is visible here: https://codesandbox.io/s/rough-frog-f00ow. Remember to view it in FireFox.  

I expect the required field to validate on form submit and not before. 

I have tested this with FireFox 68 and 69 and React 16.8.6

This appears appears to be a re-occurrence of: https://github.com/facebook/react/issues/8395


return 'foobar';
      },
    };
    const stub = <textarea defaultValue={objToString} />;
    const node = renderTextarea(stub);
    expect(node.value).toBe('foobar');
  });
  it('should set defaultValue', () => {
    const container = document.createElement('div');
    ReactDOM.render(<textarea defaultValue="foo" />, container);
    ReactDOM.render(<textarea defaultValue="bar" />, container);
    ReactDOM.render(<textarea defaultValue="noise" />, container);
    expect(container.firstChild.defaultValue).toBe('noise');
  });
  it('should not render value as an attribute', () => {
    const stub = <textarea value="giraffe" onChange={emptyFunction} />;
    const node = renderTextarea(stub);
    expect(node.getAttribute('value')).toBe(null);
  });
  it('should display `value` of number 0', () => {
    const stub = <textarea value={0} onChange={emptyFunction} />;
    const node = renderTextarea(stub);
    expect(node.value).toBe('0');
  });
  it('should update defaultValue to empty string', () => {
    const container = document.createElement('div');
    ReactDOM.render(<textarea defaultValue={'foo'} />, container);
    ReactDOM.render(<textarea defaultValue={''} />, container);
    expect(container.firstChild.defaultValue).toBe('');
  });