summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/autofocus-02b.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/autofocus-02b.svg10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/svg/autofocus-02b.svg b/layout/reftests/svg/autofocus-02b.svg
new file mode 100644
index 0000000000..5c429900df
--- /dev/null
+++ b/layout/reftests/svg/autofocus-02b.svg
@@ -0,0 +1,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>