Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: CSS inheritance: content</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/inheritance/content/001.xml" type="application/xhtml+xml"/>
<style type="text/css">
body { content: 'PASSED'; }
.test { content: inherit; }
.test:after { content: inherit; color: green; }
</style>
</head>
<body>
<span class="test">
This test has:
</span>
</body>
</html>