https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 904da22855cdcf22d76ac514eb7c4f699ab6f389 authored by Anne van Kesteren on 03 May 2018, 08:59:36 UTC
correct test
Tip revision: 904da22
nav-up-002.html
<!DOCTYPE html>
<title>CSS Basic User Interface Test: Directional Focus Navigation - 'auto' value for 'nav-up'</title>
<link rel="author" title="Jorrit Vermeiren" href="mailto:jorritv@opera.com">
<link rel="author" title="Daniel Glazman" href="mailto:d.glazman@partner.samsung.com">
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#nav-dir">
<meta name="flags" content="interact">
<meta name="assert" content="Test checks that the 'auto' value is implemented for 'nav-up'.">
<style type="text/css">
    #start {
        nav-up: #finish;
        nav-up: auto;
    }
</style>
<body>
    <p>First, use directional navigation to navigate the focus to the "START" link below.</p>
    <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
         In the SmartTV emulator, use the keypad in the GUI. -->
    <p>Test passes if navigating up once moves the focus to the "FINISH" link.</p>

    <div id="parent">
      <p><a href="">ignore</a></p>
      <p><a href="" id="end">FINISH</a></p>
      <p><a href="" id="start">START</a></p>
      <p><a href="" id="finish">ignore</a></p>
    </div>

</body>
back to top