Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/autofocus-02b.svg
<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>