Files
servo/tests/wpt/css-tests/css21_dev/html4/content-178.htm

19 lines
880 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Generated Content and :hover</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
<link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/content/dynamic/001.html" type="text/html">
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content">
<meta name="flags" content="interact">
<style type="text/css">
div:before { content: "Hover here."; display: block; background: navy; color: white; }
div:hover:before { content: "PASS"; background: green; }
</style>
</head>
<body>
<p>Test passes if the following navy block turns green and says PASS when you hover it:</p>
<div></div>
</body>
</html>