Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / basic / generic-family-changes.html
blob93aa6dd11b2de31cffd2bf0aebae634c714e1580
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <head>
3 <style>
4 .serif { font-family: serif }
5 </style>
6 </head>
7 <body>
8 Tests of WebKit's intepretation of font sizes when no absolute font size is specified. Percentages and logical keywords scale
9 to reflect the family type. Opera 9 matches this behavior as well (except it has a bug with multiple font-family mappings
10 as in the first example).
12 <pre><span class="serif" style="font-size:medium; font-family: monospace">Should be 13 px</span></pre>
14 <pre><span style="font-size:13px;font-family:Times">Should be 13px</span></pre>
15 <pre><span style="font-size:small;font-family:Times">Should be 13px</span></pre>
16 <p><span style="font-size:small;font-family:Times">Should be 13px</span></p>
18 <p><tt style="font-size:16px"><span style="font-family:Times">Should be 16px</font></tt></p>
19 <p><tt><span style="font-size:100%;font-family:Times">Should be 16px</font></tt></p>
20 <p><tt><span style="font-size:larger;font-family:Times">Should be 19px</font></tt></p>