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

Side by Side Diff: LayoutTests/fast/css/font-shorthand-from-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 <head> 3 <head>
4 <style> 4 <style>
5 @font-face { 5 @font-face {
6 font-family: "foobar"; 6 font-family: "foobar";
7 src: local("foobar"); 7 src: local("foobar");
8 } 8 }
9 div { 9 div {
10 font-family: "foobar"; 10 font-family: "foobar";
11 } 11 }
12 </style> 12 </style>
13 <script src="../js/resources/js-test-pre.js"></script> 13 <script src="../../resources/js-test.js"></script>
14 </head> 14 </head>
15 <body> 15 <body>
16 <script> 16 <script>
17 description("Test the return values for the font properties on the style object. ") 17 description("Test the return values for the font properties on the style object. ")
18 18
19 var testContainer = document.createElement("div"); 19 var testContainer = document.createElement("div");
20 document.body.appendChild(testContainer); 20 document.body.appendChild(testContainer);
21 21
22 testContainer.innerHTML = '<div id="test">hello</div>'; 22 testContainer.innerHTML = '<div id="test">hello</div>';
23 23
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 shouldBe("style.font", "'bold 40px sans-serif'"); 89 shouldBe("style.font", "'bold 40px sans-serif'");
90 shouldBe("computedStyle.font", "'normal normal bold 40px/normal sans-serif'"); 90 shouldBe("computedStyle.font", "'normal normal bold 40px/normal sans-serif'");
91 shouldBe("computedStyle.fontSize", "'40px'"); 91 shouldBe("computedStyle.fontSize", "'40px'");
92 shouldBe("computedStyle.fontFamily", "'sans-serif'"); 92 shouldBe("computedStyle.fontFamily", "'sans-serif'");
93 shouldBe("checkFontStyleValue()", "true"); 93 shouldBe("checkFontStyleValue()", "true");
94 94
95 document.body.removeChild(testContainer); 95 document.body.removeChild(testContainer);
96 </script> 96 </script>
97 </body> 97 </body>
98 </html> 98 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/font-family-trailing-bracket-gunk.html ('k') | LayoutTests/fast/css/font-shorthand-mix-inherit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698