Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/borders/border-right-width-050.xht - WPT Dashboard Interop Dashboard
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: Border-right-width using millimeters with a nominal value, 25.4mm</title>
<link rel="reviewer" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-23 -->
<link rel="match" href="border-left-width-006-ref.xht" />
<meta name="assert" content="The 'border-right-width' property supports a nominal length value in millimeters that sets the width of the right border." />
<style type="text/css">
div
{
height: 1in;
}
#reference
{
background-color: black;
width: 1in;
margin-top: 5px;
}
#test
{
border-right-style: solid;
border-right-width: 25.4mm;
width: 0;
}
</style>
</head>
<body>
<p>Test passes if the 2 black squares have the <strong>same width</strong>.</p>
<div id="test"></div>
<div id="reference"></div>
</body>
</html>