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

Side by Side Diff: LayoutTests/fast/css/border-shorthand-initialize-longhands.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 <script> 5 <script>
6 6
7 description("This test ensures border shorthand property initializes longhand pr operties such as border-top-style and border-right-color."); 7 description("This test ensures border shorthand property initializes longhand pr operties such as border-top-style and border-right-color.");
8 8
9 var div = document.createElement('div'); 9 var div = document.createElement('div');
10 shouldBe("div.setAttribute('style', 'border: 1px');div.style.borderTopStyle", "' initial'"); 10 shouldBe("div.setAttribute('style', 'border: 1px');div.style.borderTopStyle", "' initial'");
11 shouldBe("div.style.borderTopStyle", "'initial'"); 11 shouldBe("div.style.borderTopStyle", "'initial'");
12 shouldBe("div.style.borderRightStyle", "'initial'"); 12 shouldBe("div.style.borderRightStyle", "'initial'");
13 shouldBe("div.style.borderBottomStyle", "'initial'"); 13 shouldBe("div.style.borderBottomStyle", "'initial'");
14 shouldBe("div.style.borderLeftStyle", "'initial'"); 14 shouldBe("div.style.borderLeftStyle", "'initial'");
15 15
16 shouldBe("div.style.borderTopColor", "'initial'"); 16 shouldBe("div.style.borderTopColor", "'initial'");
17 shouldBe("div.style.borderRightColor", "'initial'"); 17 shouldBe("div.style.borderRightColor", "'initial'");
18 shouldBe("div.style.borderBottomColor", "'initial'"); 18 shouldBe("div.style.borderBottomColor", "'initial'");
19 shouldBe("div.style.borderLeftColor", "'initial'"); 19 shouldBe("div.style.borderLeftColor", "'initial'");
20 20
21 shouldBe("div.setAttribute('style', 'border: solid');div.style.borderTopWidth", "'initial'"); 21 shouldBe("div.setAttribute('style', 'border: solid');div.style.borderTopWidth", "'initial'");
22 shouldBe("div.style.borderRightWidth", "'initial'"); 22 shouldBe("div.style.borderRightWidth", "'initial'");
23 shouldBe("div.style.borderBottomWidth", "'initial'"); 23 shouldBe("div.style.borderBottomWidth", "'initial'");
24 shouldBe("div.style.borderLeftWidth", "'initial'"); 24 shouldBe("div.style.borderLeftWidth", "'initial'");
25 25
26 </script> 26 </script>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/border-radius-property-value.html ('k') | LayoutTests/fast/css/border-start-end.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698