| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta http-equiv="content-language" content="zh_tw_foobar"> |
| <script> |
| if (window.internals) |
| window.internals.settings.setStandardFontFamily("Ahem", "Hant"); |
| </script> |
| <title>Test font selection based on content-language</title> |
| </head> |
| <body> |
| <!-- This tests font selection based on content-language |
| <https://bugs.webkit.org/show_bug.cgi?id=76701>, when content-language has |
| extra subtags. The language "zh_tw_foobar" should match Han Traditional script, |
| so the text should be in Ahem font. --> |
| This is in Ahem font. |
| </body> |
| </html> |