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

Side by Side Diff: LayoutTests/fast/css/default-bidi-css-rules.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 <body> 3 <body>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.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');
11 11
12 function styleOf(name, attributes) { 12 function styleOf(name, attributes) {
13 var element = document.createElement(name); 13 var element = document.createElement(name);
14 for (var name in attributes) { 14 for (var name in attributes) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 </body> 72 </body>
73 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698