cursor-image-018

Cursor property, fallback keyword

WeasyPrint

This browser

Flags
image, interact
Assertion
If the user agent cannot handle any user-defined cursor, it must use the cursor keyword at the end of the list.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Cursor property, fallback keyword</title>
 3 <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal">
 4 <link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
 5 <meta content="interact image" name="flags">
 6 <meta charset="UTF-8">
 7 <meta content="If the user agent cannot handle any user-defined cursor, it must use the cursor keyword at the end of the list." name="assert">
 8 
 9 <style>
10 div.test{
11   background: #D2B48C; border: 2px solid #555;
12   cursor: url("support/cursors/not-an-image.foo"), crosshair;
13   width: 128px; height: 128px;
14 }
15 </style>
16 </head><body>
17   <p>The test passes if, when moved inside the colored rectangle, the cursor looks like
18   a crosshair (i.e. short line segments resembling a "+" sign).</p>
19   <p>If inside the rectangle the cursor does not change, the test fails.</p>
20   <div class="test"> </div>
21 
22 </body></html>