Files
servo/tests/wpt/css-tests/css21_dev/xhtml1print/border-top-width-034.xht

43 lines
2.0 KiB
HTML

<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: Border-top-width using centimeters with a minimum minus one (negative) value, -1cm</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
@top-right { content: "Test border-top-width-034"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width" />
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
<link rel="match" href="reference/border-top-width-012-ref.xht" />
<meta name="flags" content="invalid" />
<meta name="assert" content="The 'border-top-width' property does not support a negative length value in centimeters and resets to the initial value." />
<style type="text/css">
span
{
border-top-style: solid;
}
#span1
{
border-top-width: -1cm;
}
#span2
{
border-top-width: medium;
}
</style>
</head>
<body>
<p>Test passes if all the "Filler Text" have 2 black lines over them with the <strong>same thickness</strong>.</p>
<div>
<span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
</div>
</body>
</html>