tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nav-down-016.html (1186B)


      1 <!DOCTYPE html>
      2 <title>CSS Basic User Interface Test: Directional Focus Navigation - disabled elements are not navigated for 'nav-down'</title>
      3 <link rel="author" title="Jorrit Vermeiren" href="mailto:jorritv@opera.com">
      4 <link rel="author" title="Daniel Glazman" href="mailto:d.glazman@partner.samsung.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#nav-dir">
      6 <meta name="flags" content="interact">
      7 <meta name="assert" content="Test checks that disabled elements are not navigated for 'nav-down'.">
      8 <style type="text/css">
      9    #start {
     10        nav-down: #intermediate;
     11    }
     12    input {
     13      display: block;
     14    }
     15 </style>
     16 <body>
     17    <p>First, use directional navigation to navigate the focus to the "START" text field below.</p>
     18    <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
     19         In the SmartTV emulator, use the keypad in the GUI. -->
     20    <p>Test passes if navigating down moves the focus to the "FINISH" text field and not the disabled "ignore" one.</p>
     21 
     22    <div id="parent">
     23      <input value="START"/>
     24      <input value="ignore" disabled="disabled" id="intermediate"/>
     25      <input value="FINISH"/>
     26    </div>
     27 </body>