summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-matching/fallback-respects-generic-1.html
blob: a4b504e289ee6dd87d7923cf126b61e6515607b4 (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; } /* to force stable line height/baseline position */
</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">你好吗?<strut>&nbsp;</strut></p>
<p class="b">你好吗?<strut>&nbsp;</strut></p>