layout/reftests/css-ui-invalid/input/input-radio-required-invalid-changed.html

Thu, 15 Jan 2015 21:13:52 +0100

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

Remove forgotten relic of ABI crash risk averse overloaded method change.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3   <!-- Test: if input isn't valid nor barred from constraint validation,
     4              and its checkedness has changed,
     5              it should be affected by :-moz-ui-invalid pseudo-class. -->
     6   <link rel='stylesheet' type='text/css' href='style.css'>
     7   <body onload="document.getElementById('i').checked = false;
     8                 if (!document.getElementById('i').mozMatchesSelector(':-moz-ui-invalid')) {
     9                   document.body.textContent='FAIL';
    10                 } else {
    11                   document.body.textContent='SUCCESS';
    12                 }
    13                 document.documentElement.className='';">
    14     <input id='i' type='radio' required>
    15   </body>
    16 </html>

mercurial