tor-browser

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

nav-down-006.html (1465B)


      1 <!DOCTYPE html>
      2 <title>CSS Basic User Interface Test: Directional Focus Navigation - elements floating in opposite to the writing direction 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 elements floating to the right.">
      8 <style type="text/css">
      9    div > a {
     10        float: right;
     11        margin-left: 1em;
     12        margin-right: 1em;
     13    }
     14 
     15    div {
     16        clear: right;
     17    }
     18 
     19    #parent {
     20        nav-down: #finish;
     21    }
     22 
     23    #intermediate {
     24        nav-down: #end;
     25    }
     26 </style>
     27 <body>
     28    <p>First, use directional navigation to navigate the focus to the "START" link below.</p>
     29    <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
     30         In the SmartTV emulator, use the keypad in the GUI. -->
     31    <p>Test passes if navigating down twice moves the focus to the "FINISH" link.</p>
     32 
     33    <div id="parent">
     34      <a href="">ignore 1</a>
     35      <a href="">ignore 2</a>
     36      <a href="">START</a>
     37      <a href="">ignore 3</a>
     38    </div>
     39 
     40    <div>
     41      <a href="">ignore 4</a>
     42      <a href="" id="end">FINISH</a>
     43      <a href="" id="intermediate">ignore 5</a>
     44      <a href="">ignore 6</a>
     45    </div>
     46 
     47 </body>