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

Unified Diff: Source/web/tests/data/image-with-data-url.html

Issue 518043003: Add saveImageFromDataURL() and use it in saveImageAt(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add test Created 6 years, 3 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: Source/web/tests/data/image-with-data-url.html
diff --git a/Source/web/tests/data/image-with-data-url.html b/Source/web/tests/data/image-with-data-url.html
new file mode 100644
index 0000000000000000000000000000000000000000..c5a87852587e69badebb41b612871bf43600c190
--- /dev/null
+++ b/Source/web/tests/data/image-with-data-url.html
@@ -0,0 +1,24 @@
+<!DOCTYPE>
+<html>
+<head>
+<style>
+
+#data {
+ position : absolute;
+ top : 1;
+ left : 1;
+}
+
+#http {
+ position : absolute;
+ top : 2;
+ left : 1;
+}
+
+</style>
+</head>
+<body>
+<img id="data" src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=">
+<img id="http" src="http://test">
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698