Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-color/t44-currentcolor-border-b.xht - WPT Dashboard Interop Dashboard
<head>
<title>CSS Test: currentColor (with 'border-color')</title>
<link rel="match" href="t44-currentcolor-border-b-ref.html" />
<meta name="assert" content="currentColor uses the color from the color property" />
<style type="text/css"><![CDATA[
#one {
color: green;
border: medium solid red;
border: medium solid currentColor;
}
#two {
color: green;
border: medium solid red;
border-color: currentcolor;
}
]]></style>
</head>
<body>
<p id="one">This paragraph should have a green border.</p>
<p id="two">This paragraph should have a green border.</p>
</body>
</html>