tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / fast / text / international / locale-sensitive-fonts.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.layoutTestController) {
6     layoutTestController.overridePreference("WebKitStandardFontMap", [ "Hans", "Ahem" ]);
7     layoutTestController.overridePreference("WebKitFantasyFontMap", [ "Hans", "Ahem" ]);
8 }
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>