summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/autofocus-02b.svg
blob: 5c429900dfc91b41c511666fa9014d265035ca90 (plain)
1
2
3
4
5
6
7
8
9
10
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
  <rect width="100%" height="100%" fill="lime"/>
  <!-- need href for autofocus to work -->
  <a autofocus="true">
    <rect x="10" y="10" width="300" height="90" fill="lime"/>
  </a>
  <style>
    a:focus { outline: 2px solid blue; }
  </style>
</svg>