5 if (window
.internals
) {
6 window
.internals
.settings
.setStandardFontFamily("Times", "Hans");
7 window
.internals
.settings
.setStandardFontFamily("", "Hans");
8 window
.internals
.settings
.setStandardFontFamily("Ahem", "Zyyy");
10 window
.internals
.settings
.setSansSerifFontFamily("Ahem", "Zyyy");
15 <!-- Test for font fallback to the common script when the per-script font setting is missing or the empty string.
16 Bug 81329 <https://bugs.webkit.org/show_bug.cgi?id=81329> -->
17 <div style=
"font-size: 20px">
18 <div lang=
"zh-CN">this is ahem font
</div>
20 <!-- Test fallback to common script when no setting is set. This assumes there is no setting for "Zxxx" (script code for unwritten languages). -->
21 <div lang=
"und-Zxxx" style=
"font-family: sans-serif;">this is ahem font
</div>