Index: LayoutTests/svg/text/text-outline.html |
diff --git a/LayoutTests/svg/text/text-outline.html b/LayoutTests/svg/text/text-outline.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..57cf1646a301e579b538511ed7ccfdb427754298 |
--- /dev/null |
+++ b/LayoutTests/svg/text/text-outline.html |
@@ -0,0 +1,16 @@ |
+<!doctype html> |
+<svg xmlns="http://www.w3.org/2000/svg" width="800" height="100"> |
+ <desc>Test that the outline is painted, and that :active stylerules apply correctly on the 'text' element.</desc> |
+ <style> |
+ * { margin: 0; padding: 0; } |
+ *:focus { fill: green } |
+ text { font: 32px sans-serif; } |
+ </style> |
+ |
+ <text y="40" tabindex="2">Test didn't run</text> |
+ <script> |
+ var t = document.querySelector("text"); |
+ t.focus(); |
+ t.textContent = document.activeElement; |
+ </script> |
+</svg> |