Files
servo/tests/wpt/css-tests/css21_dev/html4/cursor-019.htm

32 lines
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Cursor set to 'inherit'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#propdef-cursor">
<link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#cursor-props">
<meta name="flags" content="interact">
<meta name="assert" content="Cursor 'inherit' results in the same cursor value as the parent element has.">
<style type="text/css">
div
{
cursor: text;
}
div div
{
border: 2px solid blue;
cursor: inherit;
}
#div1
{
cursor: pointer;
}
</style>
</head>
<body>
<p>Test passes if the cursor changes to a pointer cursor when mouse is over the following text.</p>
<div id="div1">
<div>Filler Text</div>
</div>
</body>
</html>