wpt / css / CSS2 / fonts / font-size-122.xht

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/CSS2/fonts/font-size-122.xht

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: Default Font Sizes</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/size/default/001.html" type="text/html"/>
  <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="match" href="font-size-122-ref.xht" />

  <meta name="flags" content="ahem" />
  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
  <style type="text/css">
   .floats { float: left; width: 16px; height: 16px; background: navy; }
   .test { font-family: Ahem; color: navy; }
  </style>
 </head>
 <body>

  <p>Test passes if there is a short navy stripe (larger than its height).</p>

  <div class="test">
   <div class="floats"></div>
   X
  </div>
 </body>
</html>

/css/CSS2/fonts/font-size-122-ref.xht

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 <head>

  <title>CSS Reftest Reference</title>
  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />

  <style type="text/css"><![CDATA[
  div
  {
  background-color: navy;
  height: 1em;
  width: 2em;
  }
  ]]></style>

 </head>

 <body>

  <p>Test passes if there is a short navy stripe (larger than its height).</p>

  <div></div>

 </body>
</html>