servo/tests/wpt/css-tests/css-ui-3_dev/html/cursor-box-004.htm
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

23 lines
No EOL
786 B
HTML

<!DOCTYPE html>
<html><head><title>CSS Basic User Interface Test: cursor on the margin-box</title>
<link href="mailto:florian@rivoal.net" rel="author" title="Florian Rivoal">
<link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
<meta content="interact" name="flags">
<meta charset="UTF-8">
<meta content="The cursor property is not applied over the margin box." name="assert">
<style>
#container {
position: absolute;
background: blue;
cursor: crosshair;
}
#test {
margin: 100px 50px;
cursor: url("support/cursors/fail.png"), help;
}
</style>
</head><body>
<p>The test passes if, when moved inside the blue box, the cursor looks like a crosshair (e.g. short line segments resembling a "+" sign).</p>
<div id="container"><div id="test"></div></div>
</body></html>