5 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" width=
"100" height=
"100" viewBox=
"0 0 100 100">
6 <a xlink:
href=
"" id=
"svg-a"><text>Link
</text></a>
8 <script src=
"../../resources/js-test.js"></script>
10 var input1
= document
.getElementById('input1');
12 testRunner
.overridePreference('WebKitTabToLinksPreferenceKey', true);
13 debug('tabToLinks=true');
14 shouldBe('input1.focus(); document.activeElement', 'input1');
15 shouldBe('eventSender.keyDown(tab); document.activeElement', 'document.getElementById("svg-a")');
16 document
.activeElement
.blur();
18 debug('tabToLinks=false');
19 testRunner
.overridePreference('WebKitTabToLinksPreferenceKey', false);
20 shouldBe('input1.focus(); document.activeElement', 'input1');
21 shouldNotBe('eventSender.keyDown(tab); document.activeElement', 'document.getElementById("svg-a")');