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