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

Side by Side Diff: LayoutTests/fast/css/font-shorthand-mix-inherit.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 <title>Test for WebKit bug 20181 : font shorthand with inherit keyword incorrect ly parsed and rendered</title> 4 <title>Test for WebKit bug 20181 : font shorthand with inherit keyword incorrect ly parsed and rendered</title>
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p id="description">Test for WebKit bug <a href="https://bugs.webkit.org/show_bu g.cgi?id=20181">20181</a> : font shorthand with inherit keyword incorrectly pars ed and rendered</p> 8 <p id="description">Test for WebKit bug <a href="https://bugs.webkit.org/show_bu g.cgi?id=20181">20181</a> : font shorthand with inherit keyword incorrectly pars ed and rendered</p>
9 <div id="console"></div> 9 <div id="console"></div>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 test.style.font = "Arial, Helvetica, inherit, sans-serif;"; 44 test.style.font = "Arial, Helvetica, inherit, sans-serif;";
45 shouldBe("test.style.getPropertyValue('font')", "''"); 45 shouldBe("test.style.getPropertyValue('font')", "''");
46 test.style.font = "inherit, sans-serif;"; 46 test.style.font = "inherit, sans-serif;";
47 shouldBe("test.style.getPropertyValue('font')", "''"); 47 shouldBe("test.style.getPropertyValue('font')", "''");
48 test.style.font = "italic inherit 12pt/14pt bold arial initial"; 48 test.style.font = "italic inherit 12pt/14pt bold arial initial";
49 shouldBe("test.style.getPropertyValue('font')", "''"); 49 shouldBe("test.style.getPropertyValue('font')", "''");
50 // clean up after ourselves 50 // clean up after ourselves
51 var tests_container = document.getElementById("tests_container"); 51 var tests_container = document.getElementById("tests_container");
52 tests_container.parentNode.removeChild(tests_container); 52 tests_container.parentNode.removeChild(tests_container);
53 </script> 53 </script>
54 <script src="../js/resources/js-test-post.js"></script>
55 </body> 54 </body>
56 </html> 55 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/font-shorthand-from-longhands.html ('k') | LayoutTests/fast/css/fontface-properties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698