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

Side by Side Diff: LayoutTests/fast/dom/HTMLElement/attr-dir-value-change.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 24 matching lines...) Expand all
35 35
36 child2.innerHTML = "Test"; 36 child2.innerHTML = "Test";
37 shouldBe("document.defaultView.getComputedStyle(child2, null).getPropertyValue(' border-right-color')", "'rgb(255, 0, 0)'"); 37 shouldBe("document.defaultView.getComputedStyle(child2, null).getPropertyValue(' border-right-color')", "'rgb(255, 0, 0)'");
38 38
39 el.setAttribute("dir", "auto"); 39 el.setAttribute("dir", "auto");
40 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'"); 40 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord er-right-color')", "'rgb(0, 128, 0)'");
41 shouldBe("document.defaultView.getComputedStyle(child2, null).getPropertyValue(' border-right-color')", "'rgb(255, 0, 0)'"); 41 shouldBe("document.defaultView.getComputedStyle(child2, null).getPropertyValue(' border-right-color')", "'rgb(255, 0, 0)'");
42 42
43 el.style.display = "none"; 43 el.style.display = "none";
44 </script> 44 </script>
45 <script src="../../js/resources/js-test-post.js"></script>
46 </body> 45 </body>
47 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698