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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE html>
     2 <!-- Nested fieldsets should be assigned validation correctly -->
     3 <html>
     4   <head>
     5     <style>
     6       fieldset:valid { background-color: green; }
     7       fieldset:invalid { background-color: red; }
     8     </style>
     9   </head>
    10   <body>
    11     <fieldset>
    12       <fieldset>
    13         <input>
    14       </fieldset>
    15       <fieldset>
    16         <input required>
    17       </fieldset>
    18     </fieldset>
    19   </body>
    20 </html>

mercurial