servo/tests/wpt/css-tests/css-regions-1_dev/xhtml1print/css-cursor-001.xht

51 lines
No EOL
1.6 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="UTF-8" />
<title>CSS Regions: CSS cursor on content node</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
<link href="http://www.w3.org/TR/css3-regions/#flow-from" rel="help" />
<meta content="CSS cursors are properly displayed for content flowed into regions." name="assert" />
<meta content="interact ahem" name="flags" />
<style>
p {
margin: 0;
}
#content {
font-family: Ahem;
font-size: 20px;
line-height: 1em;
color: lightblue;
}
#content p {
flow-into: f;
cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAT0lEQVR42u2WMQoAIAwD+/9Px9VFoUJNhjvoKDmKhVQBQA9tYw3/LiGngJwChBN+CtfjWMOvEp0HIwL2DUT8gYgrQAKJyD4Q0YgiOiHACAvTEtAwKdXD6AAAAABJRU5ErkJggg==") 1 17, w-resize;
}
#region {
width: 100px;
height: 100px;
flow-from: f;
}
#region p {
width: 100%;
height: 50%;
background-color: red;
}
</style>
</head>
<body>
<p>The test fails if you see any red or if any of the expected results below don't happen.</p>
<ol>
<li>You should see a blue square below.</li>
<li>
Move the mouse over the blue square. <strong>Expected: </strong>The mouse cursor should change to a large, left pointing, black arrow.</li>
</ol>
<div id="content">
<p>xxxxx<br />xxxxx<br />xxxxx<br />xxxxx<br />xxxxx</p>
</div>
<div id="region">
<p></p>
</div>
</body></html>