#form-data {
    /*display : block;*/
    display: none;
    font-family: monospace;
    white-space: pre;
    border: 2px solid black;
}

input:invalid {
  box-shadow: 0 0 5px 1px red;
}

input:focus:invalid {
  outline: none;
}

#form-data {
    /*display : block;*/
    display: none;
    font-family: monospace;
    white-space: pre;
    border: 2px solid black;
}

form :invalid {
  box-shadow: 0 0 5px 1px red;
}

form :focus:invalid {
  outline: none;
}

Make styling apply to invalid <select> elements
Make styling apply to invalid <select> elements

Previously, the CSS that highlighted invalid elements in the form did
not work on the drop-down selects because they were not <input>
elements; this commit makes the styling apply to all invalid elements
that are descendants of a form in the document, so the <select>
elements are properly highlighted.
