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

Side by Side Diff: LayoutTests/fast/html/set-text-direction.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
« no previous file with comments | « LayoutTests/fast/html/section-element.html ('k') | LayoutTests/fast/html/unknown-tag.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script language="javascript" type="text/javascript"> 7 <script language="javascript" type="text/javascript">
8 description('Test that WebKit changes the dir attribute and sends an input event when we change the text direction.'); 8 description('Test that WebKit changes the dir attribute and sends an input event when we change the text direction.');
9 9
10 // The string used for storing the expected text direction when we receive an in put event. 10 // The string used for storing the expected text direction when we receive an in put event.
11 var expected = ''; 11 var expected = '';
12 var sentInputEvent = false; 12 var sentInputEvent = false;
13 13
14 function removeChildAndForceGC(child) { 14 function removeChildAndForceGC(child) {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Change the text direction of the input element to LTR. 70 // Change the text direction of the input element to LTR.
71 // This also removes the element to verify WebKit works without crashes. 71 // This also removes the element to verify WebKit works without crashes.
72 expected = 'ltr'; 72 expected = 'ltr';
73 sentInputEvent = false; 73 sentInputEvent = false;
74 input.focus(); 74 input.focus();
75 testRunner.setTextDirection('ltr'); 75 testRunner.setTextDirection('ltr');
76 shouldBeTrue('sentInputEvent'); 76 shouldBeTrue('sentInputEvent');
77 </script> 77 </script>
78 </body> 78 </body>
79 </html> 79 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/section-element.html ('k') | LayoutTests/fast/html/unknown-tag.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698