Index: LayoutTests/svg/as-image/resources/link-xhtml.svg |
diff --git a/LayoutTests/svg/as-image/resources/link-xhtml.svg b/LayoutTests/svg/as-image/resources/link-xhtml.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d018ba8bcb7a6dff4eb522359279417fce60cb74 |
--- /dev/null |
+++ b/LayoutTests/svg/as-image/resources/link-xhtml.svg |
@@ -0,0 +1,8 @@ |
+<?xml version="1.0"?> |
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> |
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml" viewBox="0 0 100 100"> |
+ <foreignObject width="100" height="100"> |
+ <style>a div { background-color: green; width: 100px; height: 100px } a:link div, a:visited div { background-color: red }</style> |
+ <xhtml:a href="http://www.example.com/"><xhtml:div></xhtml:div></xhtml:a> |
+ </foreignObject> |
+</svg> |