Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: cursor - set to an invalid value</title>
<link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="author" title="Daniel Schattenkirchner" href="mailto:crazy-daniel@gmx.de" />
<meta content="The property 'cursor', when set to an invalid value or an illegal value, must be ignored. Then, instead, the cursor to display should be based on the current context." name="assert" />
<meta content="interact invalid" name="flags" />
<style type="text/css"><![CDATA[
div {cursor: invalid-value, crosshair;}
]]></style>
</head>
<body>
<p>Test passes if the pointing device, when hovered over the text sample, is the text cursor (often rendered as an I-beam). Test fails if the pointing device is a crosshair (e.g., short line segments resembling a "+" sign).</p>
<div>Text sample</div>
</body>
</html>