nav-down-000

Directional Focus Navigation - property inheritance for 'nav-down'

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that the 'nav-down' property value is not inherited for 'nav-left'.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Directional Focus Navigation - property inheritance 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' property value is not inherited for 'nav-left'." name="assert">
 8 <style type="text/css">
 9     #parent {
10         nav-down: #finish;
11     }
12 </style>
13 </head><body>
14     <p>First, use directional navigation to navigate the focus to the "START" link below.</p>
15     <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
16          In the SmartTV emulator, use the keypad in the GUI. -->
17     <p>Test passes if navigating down once moves the focus to the "FINISH" link.</p>
18 
19     <div id="parent">
20       <p><a href="">ignore</a></p>
21       <p><a href="">START</a></p>
22       <p><a href="" id="end">FINISH</a></p>
23       <p><a href="" id="finish">ignore</a></p>
24     </div>
25 
26 
27 </body></html>