2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <title>Strict mode + SVG cursor fallback test</title>
7 <p>Test svg cursor fallback, should show help cursor:</p>
8 <svg xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink" width="500" height="300">
11 <cursor id="help" xlink:href="resources/helpcursor.tiff" x="10" y="11"/>
13 <g cursor="url(nonexistent.png), url(custom-cursors.html), url(unknown-scheme:custom-cursors.html), url(#nonexistant), url(#help), text">
14 <rect x="0" y="0" width="50" height="50" fill="blue" />
16 <text y="62">Test svg cursor fallback with hotspot, should show help cursor:</text>
17 <g cursor="url(#help) 1 1, text">
18 <rect x="0" y="70" width="50" height="50" fill="red" />
20 <text y="132">Test svg cursor fallback with illegal hotspot, should show default cursor:</text>
21 <g cursor="url(#help) 1, text">
22 <rect x="0" y="140" width="50" height="50" fill="red" />
24 <text y="202">Test svg cursor fallback with illegal hotspot, should show default cursor:</text>
25 <g cursor="url(#help) 1 2 3, text">
26 <rect x="0" y="210" width="50" height="50" fill="red" />
29 <p>Testing cursor fallback in strict mode, should show help cursor:</p>
30 <div style='width:100px;height:100px;background-color:lightblue; cursor:url(nonexistent.png), url("resources/helpcursor.tiff"), text;'></div>