Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Test: 'text-shadow' respects 'currentcolor'</title>
<link rel="author" title="Dan Glastonbury" href="mailto:dglastonbury@mozilla.com" />
<link rel="match" href="currentcolor-ref.html" />
<style>
body {
color: red;
text-shadow: 0 0 10px currentcolor;
}
p {
text-shadow: inherit;
color: green;
font: 1.5em Georgia, serif;
}
</style>
</head>
<body>
<!-- content of test -->
<p>This text should have a green drop shadow</p>
</body>
</html>