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

Unified Diff: LayoutTests/svg/as-image/resources/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/link.svg
diff --git a/LayoutTests/svg/as-image/resources/link.svg b/LayoutTests/svg/as-image/resources/link.svg
new file mode 100644
index 0000000000000000000000000000000000000000..cbd0958cf8131c1e81af555579c209c7b806887c
--- /dev/null
+++ b/LayoutTests/svg/as-image/resources/link.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:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100">
+ <style>a rect { fill: green } a:link rect, a:visited rect { fill: red }</style>
+ <a xlink:href="http://www.example.com/">
+ <rect x="0" y="0" width="100" height="100"/>
+ </a>
+</svg>
« no previous file with comments | « LayoutTests/http/tests/security/canvas-remote-read-svg-image.html ('k') | LayoutTests/svg/as-image/resources/link-xhtml.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698