summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/fonts/font-size-116.xht
blob: 6d2df73ea45054372c8dd273551a0a5ad3bc4c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: font-size in pixels</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-27 -->
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/size/006.xml" type="application/xhtml+xml"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props" />
  <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-size-prop"/>
  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
  <style>
   .prereq { display: inline; font: 1.25em/1 Ahem, sans-serif; background: red; color: white; }
   .control { height: 0; }
   .control div { width: 1000px; height: 100px; background: red; }
   .test { font: 1000px/1 Ahem; color: green; }
  </style>
 </head>
 <body>
  <div class="prereq">Ahem_font_required_for_this_test.</div>
  <p>There should be no red below (scroll all the way down if necessary).</p>
  <div class="control">
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
  </div>
  <div class="test">X</div>
 </body>
</html>