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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-drawImage-svg-expected.html

Issue 2723093004: Adds SVGImageElement as a CanvasImageSource (Closed)
Patch Set: Refactored, added tests Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <style>
3 svg {
4 border: 1px solid black;
5 }
6 #img4 {
7 display: none;
8 }
9 </style>
10 <svg id="s1" width="20px" height="20px">
11 <image id="img1" href="resources/pattern.png" x="0" y="0" width="20px" height= "20px" />
12 </svg>
13 <svg id="s2" width="20px" height="20px">
14 <image id="img1" href="resources/pattern.png" x="10" y="10" width="20px" heigh t="20px" />
15 </svg>
16 <svg id="s3" width="20px" height="20px">
17 <image id="img3" href="resources/pattern.png" x="0" y="0" width="20px" height= "20px" />
18 </svg>
19 <svg id="s4" width="20px" height="20px">
20 <image id="img4" href="invalid" x="0" y="0" width="20px" height="20px" />
21 </svg>
22 <svg id="s5" width="20px" height="20px">
23 </svg>
24 <svg id="s6" width="20px" height="20px">
25 <circle cx="50%" cy="50%" r="50%" style="fill:blue;" />
Justin Novosad 2017/03/13 14:22:26 This one shows a minor discrepancy in the pixel re
fserb 2017/03/21 19:15:22 I didn't see that. But yeah, referencing circle.sv
26 </svg>
27 <svg id="s7" width="20px" height="20px">
28 </svg>
29 <svg id="s8" width="20px" height="20px">
30 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698