OLD | NEW |
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"; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 style.fontFamily = "sans-serif"; | 87 style.fontFamily = "sans-serif"; |
88 style.fontWeight = "bold"; | 88 style.fontWeight = "bold"; |
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 <script src="../js/resources/js-test-post.js"></script> | |
98 </body> | 97 </body> |
99 </html> | 98 </html> |
OLD | NEW |