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

Unified Diff: LayoutTests/svg/as-image/resources/svg-with-image-with-link.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/svg-with-image-with-link.svg
diff --git a/LayoutTests/svg/as-image/resources/svg-with-image-with-link.svg b/LayoutTests/svg/as-image/resources/svg-with-image-with-link.svg
new file mode 100644
index 0000000000000000000000000000000000000000..c8155a86767ade9eef204cf80cafa70cf4693d9b
--- /dev/null
+++ b/LayoutTests/svg/as-image/resources/svg-with-image-with-link.svg
@@ -0,0 +1,7 @@
+<?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:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100">
+ <!-- This data uri image contains a foreignObject and a link. -->
+ <image width="10" height="10" xlink:href="data:image/svg+xml;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+DQo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGh0bWw9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4NCiAgICA8YT48dGV4dD5saW5rPC90ZXh0PjwvYT4NCiAgICA8Zm9yZWlnbk9iamVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCI+DQogICAgICAgIDxzdHlsZT5hIGRpdiB7IGJhY2tncm91bmQtY29sb3I6IGdyZWVuOyB3aWR0aDogMTAwcHg7IGhlaWdodDogMTAwcHggfSBhOmxpbmsgZGl2LCBhOnZpc2l0ZWQgZGl2IHsgYmFja2dyb3VuZC1jb2xvcjogcmVkIH08L3N0eWxlPg0KICAgICAgICA8eGh0bWw6YSBocmVmPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tLyI+PHhodG1sOmRpdj48L3hodG1sOmRpdj48L3hodG1sOmE+DQogICAgPC9mb3JlaWduT2JqZWN0Pg0KPC9zdmc+">
+ </image>
+</svg>
« no previous file with comments | « LayoutTests/svg/as-image/resources/link-xhtml.svg ('k') | LayoutTests/svg/as-image/svg-canvas-link-not-colored.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698