Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(918)

Unified Diff: LayoutTests/svg/as-image/resources/link-xhtml.svg

Issue 22604008: Allow SVG images to not taint the canvas with drawImage/drawPattern (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a8ab9ae89f710ea99cc10e6489aba95d61538a78
--- /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>

Powered by Google App Engine
This is Rietveld 408576698