Skip to content

Commit

Permalink
Fix form validation error default visibility (#13580)
Browse files Browse the repository at this point in the history
Form validation error messages wrapped in `span[visible-when-invalid]` are shown by default, this commit corrects that, and thereby fixes #13576.
  • Loading branch information
tomayac authored and cvializ committed Feb 21, 2018
1 parent d16c1f2 commit 2d7e578
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions css/amp.css
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,13 @@ form [submit-error] {
display: none;
}

/**
* Form validation error messages should be hidden at first.
*/
span[visible-when-invalid] {
display: none;
}

/**
* Hide the update reference point of amp-live-list by default. This is
* reset by the `amp-live-list > .amp-active[update]` selector.
Expand Down

0 comments on commit 2d7e578

Please sign in to comment.