servo/tests/wpt/css-tests/css-ui-3_dev/html/cursor-box-006.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

29 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html>
<html><head><title>CSS Basic User Interface Test: cursor on border images extending out of the border-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 outside of the border box, even if border images do extend further out." name="assert">
<style>
#container {
position: absolute;
padding: 50px;
cursor: crosshair;
}
#test{
border-image: linear-gradient(blue, blue);
border-image-outset: 50px;
border-image-width: 50px;
border-style: solid;
border-width: 5px;
border-color: white;
cursor: url("support/cursors/fail.png"), help;
}
</style>
</head><body>
<p>The test passes if, when moved over the blue boxes, the cursor looks like a crosshair (e.g. short line segments resembling a "+" sign).
The shape of the cursor when it is over white areas is not part of this test.</p>
<div id="container"><div id="test"></div></div>
</body></html>