layout/reftests/css-ui-invalid/input/input-radio-required-invalid-default.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-ui-invalid/input/input-radio-required-invalid-default.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +  <!-- Test: if input isn't valid nor barred from constraint validation,
     1.7 +             and its checkedness hasn't changed,
     1.8 +             it should not be affected by :-moz-ui-invalid pseudo-class. -->
     1.9 +  <link rel='stylesheet' type='text/css' href='style.css'>
    1.10 +  <body onload="if (document.getElementById('i').mozMatchesSelector(':-moz-ui-invalid')) {
    1.11 +                  document.body.textContent='FAIL';
    1.12 +                } else {
    1.13 +                  document.body.textContent='SUCCESS';
    1.14 +                }
    1.15 +                document.documentElement.className='';">
    1.16 +    <input id='i' type='radio' required>
    1.17 +  </body>
    1.18 +</html>

mercurial