Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / international / locale-sensitive-fonts.html
blob6a9e2a1575c3e05575dcd00d6f49472ca262cca7
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.internals) {
6 window.internals.settings.setStandardFontFamily("Ahem", "Hans");
7 window.internals.settings.setFantasyFontFamily("Ahem", "Hans");
9 </script>
10 </head>
11 <body>
12 <!-- This tests locale-sensitive font selection. Using overridePreference, the
13 fonts for Simplified Han are to Ahem font. So all divs should match. -->
14 <div style="font-size: 20px">
15 <div style="font-family: 'Ahem'">this is ahem font</div>
16 <div style="-webkit-locale: 'zh_CN'">this is ahem font</div>
17 <div style="-webkit-locale: 'zh_CN'; font-family: fantasy">this is ahem font</div>
18 </div>
19 </body>
20 </html>