Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/tabindex-focus.html

Issue 2118903003: Relocate tests from fast/svg/ to svg/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-fast-svg-tests
Patch Set: Rename some files Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698