OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <title>Tabindex on svg elements tests</title> | 2 <title>Tabindex on svg elements tests</title> |
3 <script src=../../resources/testharness.js></script> | 3 <script src=../../resources/testharness.js></script> |
4 <script src=../../resources/testharnessreport.js></script> | 4 <script src=../../resources/testharnessreport.js></script> |
5 <body> | 5 <body> |
6 <div id="testcontainer"><svg id="testroot" width="1" height="1"/></div> | 6 <div id="testcontainer"><svg id="testroot" width="1" height="1"/></div> |
7 <div id=log></div> | 7 <div id=log></div> |
8 <script> | 8 <script> |
9 var svg = document.getElementById("testroot"); | 9 var svg = document.getElementById("testroot"); |
10 function isFocusable(elm) { | 10 function isFocusable(elm) { |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 finally { | 196 finally { |
197 document.body.focus(); | 197 document.body.focus(); |
198 } | 198 } |
199 }, element.firstElementChild.nodeName + ".focus() with tabindex set."); | 199 }, element.firstElementChild.nodeName + ".focus() with tabindex set."); |
200 | 200 |
201 element.parentNode.removeChild(element); | 201 element.parentNode.removeChild(element); |
202 element = svg.firstElementChild; | 202 element = svg.firstElementChild; |
203 } | 203 } |
204 </script> | 204 </script> |
205 </body> | 205 </body> |
OLD | NEW |