Files
servo/tests/wpt/css-tests/css21_dev/html4/border-left-width-061.htm

36 lines
1.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Border-left-width using inches with a nominal value, 5in</title>
<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-05-30 -->
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width">
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties">
<link rel="match" href="reference/border-left-width-061-ref.htm">
<meta name="flags" content="">
<meta name="assert" content="The 'border-left-width' property supports a nominal length value in inches that sets the width of the left border.">
<style type="text/css">
div
{
height: 1in;
}
#reference
{
background-color: black;
width: 5in;
margin-top: 5px;
}
#test
{
border-left-style: solid;
border-left-width: 5in;
}
</style>
</head>
<body>
<p>Test passes if the 2 black rectangles have the <strong>same width</strong>.</p>
<div id="test"></div>
<div id="reference"></div>
</body>
</html>