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

Side by Side Diff: LayoutTests/fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.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 .testElement {-webkit-border-start: 5px solid green; -webkit-border-end: 5px sol id red; } 7 .testElement {-webkit-border-start: 5px solid green; -webkit-border-end: 5px sol id red; }
8 </style> 8 </style>
9 </head> 9 </head>
10 <body> 10 <body>
(...skipping 18 matching lines...) Expand all
29 description('Test that directionality of an element with dir=auto set is not det ermined by the value of its child text form control.'); 29 description('Test that directionality of an element with dir=auto set is not det ermined by the value of its child text form control.');
30 30
31 var el = document.getElementById("left-to-right"); 31 var el = document.getElementById("left-to-right");
32 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(255, 0, 0)'"); 32 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(255, 0, 0)'");
33 el = document.getElementById("right-to-left1"); 33 el = document.getElementById("right-to-left1");
34 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'"); 34 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'");
35 el = document.getElementById("right-to-left2"); 35 el = document.getElementById("right-to-left2");
36 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'"); 36 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'");
37 document.getElementById("parentDiv").style.display = "none"; 37 document.getElementById("parentDiv").style.display = "none";
38 </script> 38 </script>
39 <script src="../../js/resources/js-test-post.js"></script>
40 </body> 39 </body>
41 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698