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