svg-link-hover-use.svg 380 B

123456789
  1. <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>
  2. <defs>
  3. <rect id='rect' width='100' height="100" fill='blue' />
  4. </defs>
  5. <a xlink:href="http://www.webkit.org" >
  6. <use xlink:href="#rect" onmouseover="alert('foo')" />
  7. </a>
  8. <text y='120' x='10'>The above blue square is a link, the cursor should be a hand above it.</text>
  9. </svg>