1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-invalid/fieldset/fieldset-invalid-and-barred-remove-invalid.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<!DOCTYPE html> 1.5 +<!-- fieldset with one invalid element and a barred for constraint 1.6 +validation element then you remove the second element --> 1.7 +<html class='reftest-wait'> 1.8 + <head> 1.9 + <style> 1.10 + fieldset:valid { display: none; } 1.11 + </style> 1.12 + </head> 1.13 + <script> 1.14 + function onloadHandler() 1.15 + { 1.16 + document.getElementById("fieldset").removeChild(document.getElementById('j')); 1.17 + document.documentElement.className = ''; 1.18 + } 1.19 + </script> 1.20 + <body onload='onloadHandler();'> 1.21 + <fieldset id="fieldset"> 1.22 + <input id='j' required> 1.23 + <input value='foo' readonly> 1.24 + </fieldset> 1.25 + </body> 1.26 +</html>