nav-down-007.html (1324B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: Directional Focus Navigation - non existing ID for 'nav-down'</title> 3 <link rel="author" title="Jorrit Vermeiren" href="mailto:jorritv@opera.com"> 4 <link rel="author" title="Daniel Glazman" href="mailto:d.glazman@partner.samsung.com"> 5 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#nav-dir"> 6 <meta name="flags" content="interact"> 7 <meta name="assert" content="Test checks that the 'nav-down' is ignored if the ID does not exist."> 8 <style type="text/css"> 9 #parent { 10 nav-down: #error; 11 } 12 13 #intermediate { 14 nav-down: #foobar; 15 } 16 17 </style> 18 <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><a href="">ignore</a> 29 </div> 30 31 <div> 32 <p><a href="">ignore</a> 33 <p><a href="">ignore</a> 34 <p><a href="" id="error">ignore</a> 35 <p><a href="">ignore</a> 36 </div> 37 38 </body>