mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
38 lines
1.5 KiB
HTML
38 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-top-width using points with a nominal value with a plus sign, +72pt</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-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-bottom-width-006-ref.htm">
|
|
|
|
<meta name="flags" content="">
|
|
<meta name="assert" content="The 'border-top-width' property supports a nominal length value in points that has a plus sign before it.">
|
|
<style type="text/css">
|
|
div
|
|
{
|
|
display: inline-block;
|
|
width: 1in;
|
|
}
|
|
#reference
|
|
{
|
|
background-color: black;
|
|
height: 1in;
|
|
margin-left: 5px;
|
|
}
|
|
#test
|
|
{
|
|
border-top-style: solid;
|
|
border-top-width: +72pt;
|
|
height: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if the 2 filled black squares have the <strong>same height</strong>.</p>
|
|
<div id="test"></div>
|
|
<div id="reference"></div>
|
|
</body>
|
|
</html> |