Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <!-- Test: if input isn't valid nor barred from constraint validation, |
michael@0 | 4 | and its checkedness has changed, |
michael@0 | 5 | it should be affected by :-moz-ui-invalid pseudo-class. --> |
michael@0 | 6 | <link rel='stylesheet' type='text/css' href='style.css'> |
michael@0 | 7 | <body onload="document.getElementById('i').checked = false; |
michael@0 | 8 | if (!document.getElementById('i').mozMatchesSelector(':-moz-ui-invalid')) { |
michael@0 | 9 | document.body.textContent='FAIL'; |
michael@0 | 10 | } else { |
michael@0 | 11 | document.body.textContent='SUCCESS'; |
michael@0 | 12 | } |
michael@0 | 13 | document.documentElement.className='';"> |
michael@0 | 14 | <input id='i' type='checkbox' required> |
michael@0 | 15 | </body> |
michael@0 | 16 | </html> |