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

Side by Side Diff: LayoutTests/fast/dom/HTMLDocument/active-element-gets-unforcusable.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 4
5 <div id="f1"> 5 <div id="f1">
6 <div tabindex="1" id="div1"></div> 6 <div tabindex="1" id="div1"></div>
7 </div> 7 </div>
8 8
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 description('Making a focused element invisible should make it blur.'); 10 description('Making a focused element invisible should make it blur.');
11 jsTestIsAsync = true; 11 jsTestIsAsync = true;
12 var focusTarget = document.getElementById('div1'); 12 var focusTarget = document.getElementById('div1');
13 var testStage = 0; 13 var testStage = 0;
(...skipping 22 matching lines...) Expand all
36 focusTarget.focus(); 36 focusTarget.focus();
37 shouldBe('document.activeElement', 'focusTarget', true); 37 shouldBe('document.activeElement', 'focusTarget', true);
38 debug('===> Setting visibility:hidden'); 38 debug('===> Setting visibility:hidden');
39 f1.style.visibility = 'hidden'; 39 f1.style.visibility = 'hidden';
40 } else 40 } else
41 finishJSTest(); 41 finishJSTest();
42 }, false); 42 }, false);
43 43
44 </script> 44 </script>
45 </body> 45 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/HTMLDialogElement/synthetic-click-inert.html ('k') | LayoutTests/fast/dom/HTMLDocument/clone-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698