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

Side by Side Diff: LayoutTests/fast/css/font-family-initial-shorthand.html

Issue 197213034: Implement font-family: initial. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 9 months 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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script> 5 <script>
6 if (window.testRunner) { 6 if (window.testRunner) {
7 window.testRunner.dumpAsText(); 7 window.testRunner.dumpAsText();
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
(...skipping 13 matching lines...) Expand all
24 24
25 var initialFont = document.defaultView.getComputedStyle(initialFontElement, null ).getPropertyValue("font-family"); 25 var initialFont = document.defaultView.getComputedStyle(initialFontElement, null ).getPropertyValue("font-family");
26 var initialFontFamily = document.defaultView.getComputedStyle(initialFontFamilyE lement, null).getPropertyValue("font-family"); 26 var initialFontFamily = document.defaultView.getComputedStyle(initialFontFamilyE lement, null).getPropertyValue("font-family");
27 var unstyled = document.defaultView.getComputedStyle(unstyledElement, null).getP ropertyValue("font-family"); 27 var unstyled = document.defaultView.getComputedStyle(unstyledElement, null).getP ropertyValue("font-family");
28 28
29 shouldBe("initialFontFamily", "unstyled"); 29 shouldBe("initialFontFamily", "unstyled");
30 shouldBe("initialFont", "unstyled"); 30 shouldBe("initialFont", "unstyled");
31 </script> 31 </script>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/font-family-initial-expected.txt ('k') | LayoutTests/fast/css/font-family-initial-shorthand-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698