summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/cursor-008.html
blob: 290f10809cb68144ba77311ef7832fe7d14ae882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<title>CSS Basic User Interface Test: cursor: not-allowed</title>
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="http://www.w3.org/TR/css3-ui/#cursor">
<meta name="flags" content="interact">
<meta charset="UTF-8">
<meta name="assert" content="The 'not-allowed' cursor value is supported">
<style>
div {
  cursor: url("support/cursors/fail.png"), help;
  cursor: not-allowed;
  width: 100px;
  height: 100px;
  border: solid blue;
}
</style>
<body>
  <p>The test passes if, when moved inside the blue box, the cursor indicates that the requested action will not be carried out.
  Often rendered as a circle with a line through it.</p>
  <div></div>
</body>