cursor-022

cursor - set to an invalid value

WeasyPrint

This browser

Flags
interact, invalid
Assertion
The property 'cursor', when set to an invalid value or an illegal value, must be ignored. Then, instead, the cursor to display should be based on the current context.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3 
 4  <head>
 5 
 6   <title>CSS Test: cursor - set to an invalid value</title>
 7 
 8   <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#cursor-props">
 9   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors">
10   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">
11   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
12   <link rel="author" title="Daniel Schattenkirchner" href="crazy-daniel{at}gmx.de">
13   <meta content="The property 'cursor', when set to an invalid value or an illegal value, must be ignored. Then, instead, the cursor to display should be based on the current context." name="assert">
14   <meta content="interact invalid" name="flags">
15 
16   <style type="text/css">
17   div {cursor: invalid-value, crosshair;}
18   </style>
19 
20  </head>
21 
22  <body>
23 
24   <p>Test passes if the pointing device, when hovered over the text sample, is the text cursor (often rendered as an I-beam). Test fails if the pointing device is a crosshair (e.g., short line segments resembling a "+" sign).</p>
25 
26   <div>Text sample</div>
27 
28  </body>
29 </html>