OLD | NEW |
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 Loading... |
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> |
OLD | NEW |