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

Side by Side Diff: LayoutTests/fast/css/default-bidi-css-rules.html

Issue 48903019: Delete js-test-post.js. (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 <body> 3 <body>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 <p>This test checks <a href="http://dev.w3.org/html5/spec/Overview.html#bidirect ional-text">the default rules for direction and unicode-bidi CSS properties</a>. </p> 5 <p>This test checks <a href="http://dev.w3.org/html5/spec/Overview.html#bidirect ional-text">the default rules for direction and unicode-bidi CSS properties</a>. </p>
6 <div id="container"></div> 6 <div id="container"></div>
7 <div id="console"></div> 7 <div id="console"></div>
8 <script> 8 <script>
9 9
10 var container = document.getElementById('container'); 10 var container = document.getElementById('container');
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ['pre', {'dir': 'auto'}, 'ltr', '-webkit-plaintext'], 62 ['pre', {'dir': 'auto'}, 'ltr', '-webkit-plaintext'],
63 ['pre', {'dir': ''}, 'ltr', 'embed'], 63 ['pre', {'dir': ''}, 'ltr', 'embed'],
64 ].forEach(function (test) { 64 ].forEach(function (test) {
65 shouldBe('styleOf("' + test[0] + '", ' + JSON.stringify(test[1]) + ').direct ion', '"' + test[2] + '"'); 65 shouldBe('styleOf("' + test[0] + '", ' + JSON.stringify(test[1]) + ').direct ion', '"' + test[2] + '"');
66 container.innerHTML = ''; 66 container.innerHTML = '';
67 shouldBe('styleOf("' + test[0] + '", ' + JSON.stringify(test[1]) + ').unicod eBidi', '"' + test[3] + '"'); 67 shouldBe('styleOf("' + test[0] + '", ' + JSON.stringify(test[1]) + ').unicod eBidi', '"' + test[3] + '"');
68 container.innerHTML = ''; 68 container.innerHTML = '';
69 }); 69 });
70 70
71 </script> 71 </script>
72 <script src="../js/resources/js-test-post.js"></script>
73 </body> 72 </body>
74 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698