nav-down-004

Directional Focus Navigation - input elements for 'nav-down'

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that 'nav-down' works for input elements.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Directional Focus Navigation - input elements for 'nav-down'</title>
 3 <link href="mailto:jorritv@opera.com" rel="author" title="Jorrit Vermeiren">
 4 <link href="mailto:d.glazman@partner.samsung.com" rel="author" title="Daniel Glazman">
 5 <link href="http://www.w3.org/TR/css3-ui/#nav-dir" rel="help">
 6 <meta content="interact" name="flags">
 7 <meta content="Test checks that 'nav-down' works for input elements." name="assert">
 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 </head><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 id="intermediate" value="ignore">
31       <input value="ignore">
32     </div>
33 
34     <div>
35       <input value="ignore">
36       <input id="end" value="FINISH">
37       <input value="ignore">
38       <input value="ignore">
39     </div>
40 
41 
42 </body></html>