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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Attr/direction-attribute-set-and-cleared.html

Issue 2781993003: Move tests for Attr interface to LayoutTests/dom/attr/. (Closed)
Patch Set: Created 3 years, 8 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
(Empty)
1 <!doctype html>
2 <html>
3 <script src="../../../resources/js-test.js"></script>
4 <script>
5 if (window.testRunner)
6 testRunner.waitUntilDone();
7 description('This tests that setting the dir attribute to rtl and clearing it de faults to ltr.');
8 onload = function() {
9 document.body.dir = 'rtl';
10 document.body.offsetTop;
11 document.body.dir = '';
12 shouldBeEqualToString('window.getComputedStyle(document.body).direction', 'l tr');
13 if (window.testRunner)
14 testRunner.notifyDone();
15 }
16 </script>
17 <body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698