1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-ui-invalid/select/select-required-invalid-changed-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class='reftest-wait'> 1.6 + <!-- Test: if select is required and the selected option has an empty 1.7 + string value and the selection did changed, 1.8 + :-moz-ui-invalid should apply. --> 1.9 + <link rel='stylesheet' type='text/css' href='style.css'> 1.10 + <body onload="document.getElementById('s').selectedIndex = 0; 1.11 + document.documentElement.className = '';"> 1.12 + <select id='s' class='invalid' required> 1.13 + <option value="">foo</option> 1.14 + </select> 1.15 + </body> 1.16 +</html>