tor-browser

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

nav-dir-004.html (1440B)


      1 <!DOCTYPE html>
      2 <title>CSS Basic User Interface Test: Directional Focus Navigation - floating elements</title>
      3 <link rel="author" title="Jorrit Vermeiren" href="mailto:jorritv@opera.com">
      4 <link rel="reviewer" title="Leif Arne Storset" href="mailto:lstorset@opera.com">
      5 <link rel="reviewer" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"><!-- 07-18-2013 -->
      6 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#nav-dir">
      7 <meta name="flags" content="interact">
      8 <meta name="assert" content="Test checks that directional focus navigation properties work on floating elements.">
      9 <style>
     10    #container > div {
     11        clear: left;
     12    }
     13    #container > div > a {
     14        float: left;
     15        margin-right: 1ex;
     16    }
     17    #start {
     18        nav-left: #finish;
     19    }
     20 </style>
     21 <body>
     22    <p>First, use directional navigation to navigate the focus to the "START" link 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 left once moves the focus to the "FINISH" input.</p>
     26 
     27    <div id="container">
     28        <div><a href="">ignore</a> <a href="" id="start">START</a> <a href="">ignore</a></div>
     29 
     30        <div><a href="">ignore</a> <a href="">ignore</a> <a href="">ignore</a></div>
     31 
     32        <div><a href="">ignore</a> <a href="" id="finish">FINISH</a> <a href="">ignore</a></div>
     33    </div>
     34 </body>