tor-browser

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

nav-down-004.html (1328B)


      1 <!DOCTYPE html>
      2 <title>CSS Basic User Interface Test: Directional Focus Navigation - input elements 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 'nav-down' works for input elements.">
      8 <style type="text/css">
      9    #parent {
     10        nav-down: #finish;
     11    }
     12 
     13    #intermediate {
     14        nav-down: #end;
     15    }
     16 
     17   input {
     18     display: block;
     19   }
     20 </style>
     21 <body>
     22    <p>First, use directional navigation to navigate the focus to the "START" text field below.</p>
     23    <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
     24         In the SmartTV emulator, use the keypad in the GUI. -->
     25    <p>Test passes if navigating down twice moves the focus to the "FINISH" text field.</p>
     26 
     27    <div id="parent">
     28      <input value="ignore"/>
     29      <input value="START"/>
     30      <input value="ignore" id="intermediate"/>
     31      <input value="ignore"/>
     32    </div>
     33 
     34    <div>
     35      <input value="ignore"/>
     36      <input value="FINISH" id="end"/>
     37      <input value="ignore"/>
     38      <input value="ignore"/>
     39    </div>
     40 
     41 </body>