nav-dir-001

Directional Focus Navigation - property inheritance

WeasyPrint

This browser

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

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Directional Focus Navigation - property inheritance</title>
 3 <link href="mailto:jorritv@opera.com" rel="author" title="Jorrit Vermeiren">
 4 <link href="mailto:lstorset@opera.com" rel="reviewer" title="Leif Arne Storset">
 5 <link href="mailto:rhauck@adobe.com" rel="reviewer" title="Rebecca Hauck"><!-- 07-18-2013 -->
 6 <link href="http://www.w3.org/TR/css3-ui/#nav-dir" rel="help">
 7 <meta content="interact" name="flags">
 8 <meta content="Test checks that the 'nav-left' property value is not inherited." name="assert">
 9 <style>
10     #parent {
11         nav-left: #finish;
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"><a href="">ignore</a> <a href="" id="intermediate">ignore</a> <a href="">START</a> <a href="" id="finish">ignore</a></div>
24 
25     <div><a href="">ignore</a> <a href="" id="end">FINISH</a></div>
26 
27 </body></html>