From 2091c625581c17eff71e0b7f929f4236faceec60 Mon Sep 17 00:00:00 2001 From: Nathan Hunzaker Date: Mon, 4 Dec 2017 08:59:53 -0500 Subject: [PATCH] Add test fixture for initial input validation bug in Firefox (#11760) --- .../components/fixtures/text-inputs/index.js | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/fixtures/dom/src/components/fixtures/text-inputs/index.js b/fixtures/dom/src/components/fixtures/text-inputs/index.js index 8bf2b36de1..af71edcbb5 100644 --- a/fixtures/dom/src/components/fixtures/text-inputs/index.js +++ b/fixtures/dom/src/components/fixtures/text-inputs/index.js @@ -42,6 +42,46 @@ class TextInputFixtures extends React.Component {

+ + +
  • View this test in Firefox
  • +
    + + + You should{' '} + + not + {' '} + see a red aura, indicating the input is invalid. +
    + This aura looks roughly like: + +
    + + +
    +
    + Text + +
    +
    + Date + +
    +
    +
    + +

    + Checking the date type is also important because of a prior fix for + iOS Safari that involved assigning over value/defaultValue + properties of the input to prevent a display bug. This also + triggered input validation. +

    +
    +
  • Type "user@example.com"