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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-svg-image-expected.html

Issue 2802813002: Adds SVGImageElement as a ImageBitmapSource (Closed)
Patch Set: merge Created 3 years, 8 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: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-svg-image-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-svg-image-expected.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-svg-image-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..a18476abd2f6eb6991868fc80264ab59470c188a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-svg-image-expected.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<style>
+svg {
+ border: 1px solid black;
+}
+#img4 {
+ display: none;
+}
+</style>
+<svg id="s1" width="20px" height="20px">
+ <image id="img1" href="resources/pattern.png" x="0" y="0" width="20px" height="20px" />
+</svg>
+<svg id="s2" width="20px" height="20px">
+ <image id="img1" href="resources/pattern.png" x="10" y="10" width="20px" height="20px" />
+</svg>
+<svg id="s3" width="20px" height="20px">
+ <image id="img3" href="resources/pattern.png" x="0" y="0" width="20px" height="20px" />
+</svg>
+<svg id="s4" width="20px" height="20px">
+ <image id="img4" href="invalid" x="0" y="0" width="20px" height="20px" />
+</svg>
+<svg id="s5" width="20px" height="20px">
+</svg>
+<svg id="s6" width="20px" height="20px">
+ <image id="img1" href="resources/pattern.png" x="0" y="0" width="10px" height="10px" />
+</svg>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698