mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
37 lines
1.5 KiB
HTML
37 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-right-width using picas with a minimum minus one (negative) value, -1pc</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-06-23 -->
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-right-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-right-width' property does not support a negative length value in picas and resets to the initial value.">
|
|
<style type="text/css">
|
|
div
|
|
{
|
|
border-right-style: solid;
|
|
height: 1in;
|
|
width: 0;
|
|
}
|
|
#reference
|
|
{
|
|
border-right-width: medium;
|
|
margin-top: 5px;
|
|
}
|
|
#test
|
|
{
|
|
border-right-style: solid;
|
|
border-right-width: -1pc;
|
|
}
|
|
</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> |