Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/css1/c5511-ibrdr-tw-000.xht - WPT Dashboard Interop Dashboard
<head>
<title>CSS Test: border-top-width</title>
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="match" href="c5511-ibrdr-tw-000-ref.xht" />
<style type="text/css"><![CDATA[
.two {border-top-width: thin; border-style: solid;}
.three {border-top-width: 25px; color: red;}
]]></style>
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/>
</head>
<body>
<p>
<span class="two"> This box should have a thin top border.</span>
</p>
<p>
There should be no red on this line. <span class="three">   </span>
</p>
</body>
</html>