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

35 lines
1.5 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 minimum minus one (negative) value, -1in</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-001-ref.htm">
<meta name="flags" content="invalid">
<meta name="assert" content="The 'border-left-width' property does not support a negative length value in inches and resets to the initial value.">
<style type="text/css">
div
{
border-left-style: solid;
height: 1in;
}
#reference
{
border-left-width: medium;
margin-top: 5px;
}
#test
{
border-left-style: solid;
border-left-width: -1in;
}
</style>
</head>
<body>
<p>Test passes if the 2 black lines have the <strong>same width</strong>.</p>
<div id="test"></div>
<div id="reference"></div>
</body>
</html>