summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/ui/cursor-020.xht
blob: e39369ea87b6e79f48f385f8a00ac34110e4c0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 <head>

  <title>CSS Test: cursor - &lt;uri&gt; value</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
  <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#cursor-props" />
  <meta content="interact" name="flags" />
  <meta content="If the user agent cannot handle an user-defined cursor, it must use the generic cursor at the end of the list. The auto value should make UA determine the cursor to display based on the current context." name="assert" />

  <style type="text/css"><![CDATA[
  div {cursor: url("inexistent.cur"), auto;}
  ]]></style>

 </head>

 <body>

  <p>Hovering the pointing device over the text sample should make it rendered as a text cursor (often an I-beam).</p>

  <div>text sample</div>

 </body>
</html>