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

Side by Side Diff: LayoutTests/fast/dom/HTMLElement/attr-dir-auto.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 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../js/resources/js-test-pre.js"></script>
6 <style> 6 <style>
7 .testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid r ed; } 7 .testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid r ed; }
8 </style> 8 </style>
9 </head> 9 </head>
10 <body> 10 <body>
(...skipping 13 matching lines...) Expand all
24 description('Test that directionality of an element with dir=auto set is determi ned by the first child text node of that element.'); 24 description('Test that directionality of an element with dir=auto set is determi ned by the first child text node of that element.');
25 25
26 var el = document.getElementById("left-to-right"); 26 var el = document.getElementById("left-to-right");
27 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(255, 0, 0)'"); 27 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(255, 0, 0)'");
28 el = document.getElementById("right-to-left1"); 28 el = document.getElementById("right-to-left1");
29 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'"); 29 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'");
30 el = document.getElementById("right-to-left2"); 30 el = document.getElementById("right-to-left2");
31 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'"); 31 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'");
32 document.getElementById("parentDiv").style.display = "none"; 32 document.getElementById("parentDiv").style.display = "none";
33 </script> 33 </script>
34 <script src="../../js/resources/js-test-post.js"></script>
35 </body> 34 </body>
36 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698