summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-matching/fallback-respects-generic-1-ref.html
blob: c812c5a03b0676457275586e4967ad04aa02edea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html lang="en-US">
<meta charset="utf-8">
<style>
.a { font: 32px serif; }
.b { font: 32px sans-serif; }
strut { font-size: 2em; }
</style>
<p>The first Chinese line should use the <tt>serif</tt> font setting from prefs;
the second should use the <tt>sans-serif</tt> font setting.</p>
<p class="a"><span lang="zh-CN">你好吗?</span><strut>&nbsp;</strut></p>
<p class="b"><span lang="zh-CN">你好吗?</span><strut>&nbsp;</strut></p>