nav-left-003

Directional Focus Navigation - ID value for 'nav-left'

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that the ID value is implemented for 'nav-left'.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Directional Focus Navigation - ID value for 'nav-left'</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 the ID value is implemented for 'nav-left'." name="assert">
 8 <style type="text/css">
 9     #parent {
10         nav-left: #finish;
11     }
12 
13     #intermediate {
14         nav-left: #end;
15     }
16 </style>
17 </head><body>
18     <p>First, use directional navigation to navigate the focus to the "START" link 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 left twice moves the focus to the "FINISH" link.</p>
22 
23     <div id="parent">
24       <a href="">ignore</a>
25       <a href="" id="intermediate">ignore</a>
26       <a href="">START</a>
27       <a href="">ignore</a>
28     </div>
29 
30     <div>
31       <a href="">ignore</a>
32       <a href="" id="end">FINISH</a>
33       <a href="">ignore</a>
34       <a href="">ignore</a>
35     </div>
36 
37 
38 </body></html>