wpt / css / CSS2 / css1 / c5515-brdr-w-001.xht

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

/css/CSS2/css1/c5515-brdr-w-001.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: border-width</title>
  <meta name="flags" content="image" />
  <link rel="help" href="http://www.w3.org/TR/REC-CSS1#border-width"/>
  <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="match" href="c5515-brdr-w-001-ref.xht" />

  <style type="text/css"><![CDATA[
   .one { background: url(support/swatch-red.png) repeat; }
   .one div { border-width: 15px; border-style: solid; color: green; }
   .one p { color: black; background: white; margin: 0; }
  ]]></style>
  <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/>
 </head>
 <body>
  <div class="one">
   <div>
    <p>There should be no red on this page.</p>
   </div>
  </div>
 </body>
</html>

/css/CSS2/css1/c5515-brdr-w-001-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
  {
  background: url("support/swatch-green.png") repeat-x;
  line-height: 15px;
  }

  div#sentence
  {
  border-left: green solid 15px;
  border-right: green solid 15px;
  }
  ]]></style>

 </head>

 <body>

  <div class="background">&nbsp;</div>

  <div id="sentence">There should be no red on this page.</div>

  <div class="background">&nbsp;</div>

 </body>
</html>