gecko/layout/reftests/css-valid/select/select-required-valid.html

12 lines
341 B
HTML

<!DOCTYPE html>
<html>
<!-- Test: if select is required and has a select option which has value
different from the empty string, :valid should apply. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body>
<select class='valid' required>
<option selected>foo</option>
</select>
</body>
</html>