nav-down-007

Directional Focus Navigation - non existing ID for 'nav-down'

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that the 'nav-down' is ignored if the ID does not exist.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Directional Focus Navigation - non existing ID 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 the 'nav-down' is ignored if the ID does not exist." name="assert">
 8 <style type="text/css">
 9     #parent {
10         nav-down: #error;
11     }
12 
13     #intermediate {
14         nav-down: #foobar;
15     }
16 
17 </style>
18 </head><body>
19     <p>First, use directional navigation to navigate the focus to the "START" link below.</p>
20     <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
21          In the SmartTV emulator, use the keypad in the GUI. -->
22     <p>Test passes if navigating down twice moves the focus to the "FINISH" link.</p>
23 
24     <div id="parent">
25       <p><a href="">START</a></p>
26       <p><a href="" id="intermediate">ignore</a></p>
27       <p><a href="" id="end">FINISH</a>
28       </p><p><a href="">ignore</a>
29     </p></div>
30 
31     <div>
32       <p><a href="">ignore</a>
33       </p><p><a href="">ignore</a>
34       </p><p><a href="" id="error">ignore</a>
35       </p><p><a href="">ignore</a>
36     </p></div>
37 
38 
39 </body></html>