wpt / css / CSS2 / backgrounds / background-root-024.xht

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

/css/CSS2/backgrounds/background-root-024.xht

<!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: Repeating Backgrounds: Y</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/repeat/001.html" type="text/html"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/repeat/001.xml" type="application/xhtml+xml"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
  <link rel="match" href="background-root-024-ref.xht" />

  <style type="text/css"><![CDATA[
   body { background: url(support/cat.png) repeat-y; color: navy; font: bold 2em sans-serif; }
   p { margin-left: 100px; }
   html, body { margin: 1em; padding: 1em; }
  ]]></style>
 </head>
 <body>
  <p>There should be a column of cats to the left of this page.</p>
 </body>
</html>

/css/CSS2/backgrounds/background-root-024-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">
  html, body
  {
  height: 100%;
  margin: 0px;
  }

  div#parent
  {
  background: url("support/cat.png") repeat-y 1em 1em;
  height: 100%;
  }

  div#child
  {
  color: navy;
  font: bold 2em sans-serif;
  margin-left: 100px;
  padding: 4em 3em;
  }
  </style>

 </head>

 <body>

  <div id="parent">
    <div id="child">There should be a column of cats to the left of this page.</div>
  </div>

 </body>
</html>