layout/reftests/css-ui-invalid/select/select-required-invalid-changed-1.html

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

     1 <!DOCTYPE html>
     2 <html class='reftest-wait'>
     3   <!-- Test: if select is required and the selected option has an empty
     4              string value and the selection did changed,
     5              :-moz-ui-invalid should apply. -->
     6   <link rel='stylesheet' type='text/css' href='style.css'>
     7   <body onload="document.getElementById('s').selectedIndex = 0;
     8                 document.documentElement.className = '';">
     9     <select id='s' class='invalid' required>
    10       <option selected value="">foo</option>
    11     </select>
    12   </body>
    13 </html>

mercurial