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

Side by Side Diff: LayoutTests/fast/dom/Attr/direction-attribute-set-and-cleared.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 <html> 2 <html>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 description('This tests that setting the dir attribute to rtl and clearing it de faults to ltr.'); 7 description('This tests that setting the dir attribute to rtl and clearing it de faults to ltr.');
8 onload = function() { 8 onload = function() {
9 document.body.dir = 'rtl'; 9 document.body.dir = 'rtl';
10 document.body.offsetTop; 10 document.body.offsetTop;
11 document.body.dir = ''; 11 document.body.dir = '';
12 shouldBeEqualToString('window.getComputedStyle(document.body).direction', 'l tr'); 12 shouldBeEqualToString('window.getComputedStyle(document.body).direction', 'l tr');
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.notifyDone(); 14 testRunner.notifyDone();
15 } 15 }
16 </script> 16 </script>
17 <body> 17 <body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698