layout/reftests/css-invalid/fieldset/fieldset-nested-valid-invalid-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-invalid/fieldset/fieldset-nested-valid-invalid-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +
     1.5 +<!DOCTYPE html>
     1.6 +<!-- Nested fieldsets should be assigned validation correctly -->
     1.7 +<html>
     1.8 +  <head>
     1.9 +    <style>
    1.10 +      fieldset:valid { background-color: green; }
    1.11 +      fieldset:invalid { background-color: red; }
    1.12 +    </style>
    1.13 +  </head>
    1.14 +  <body>
    1.15 +    <fieldset style="background-color:red;">
    1.16 +      <fieldset style="background-color: green;">
    1.17 +        <input>
    1.18 +      </fieldset>
    1.19 +      <fieldset style="background-color: red">
    1.20 +        <input required>
    1.21 +      </fieldset>
    1.22 +    </fieldset>
    1.23 +  </body>
    1.24 +</html>
    1.25 +

mercurial