nav-right-005.html (1456B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: Directional Focus Navigation - elements floating in the writing direction for 'nav-right'</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-right' works for elements floating to the left."> 8 <style type="text/css"> 9 div > a { 10 float: left; 11 margin-right: 1em; 12 margin-right: 1em; 13 } 14 15 div { 16 clear: left; 17 } 18 19 #parent { 20 nav-right: #finish; 21 } 22 23 #intermediate { 24 nav-right: #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 right twice moves the focus to the "FINISH" link.</p> 32 33 <div id="parent"> 34 <a href="">ignore 1</a> 35 <a href="">START</a> 36 <a href="" id="intermediate">ignore 2</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="">ignore 5</a> 44 <a href="">ignore 6</a> 45 </div> 46 47 </body>