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

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: Rebase after r156375 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..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>
« no previous file with comments | « LayoutTests/svg/as-image/resources/link.svg ('k') | LayoutTests/svg/as-image/resources/svg-with-image-with-link.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698