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

Unified Diff: Source/web/tests/data/pageserializer/input-image/input-image.html

Issue 16520007: Serialize <input type="image"> images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/web/tests/PageSerializerTest.cpp ('k') | Source/web/web.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/data/pageserializer/input-image/input-image.html
diff --git a/Source/web/tests/data/pageserializer/input-image/input-image.html b/Source/web/tests/data/pageserializer/input-image/input-image.html
new file mode 100644
index 0000000000000000000000000000000000000000..e8de9a1c823412b7fe0f2bc4e6042ea48d61343d
--- /dev/null
+++ b/Source/web/tests/data/pageserializer/input-image/input-image.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>PageSerializer Test - Image Button</title>
+</head>
+<body>
+ <h1>PageSerializer Test - Image Button</h1>
+ <form>
+ <table border="1">
+ <thead>
+ <tr><th>Type</th><th>Image Button</th></tr>
+ </thead>
+ <tbody>
+ <tr><td>Existing</td><td><input type="image" src="button.png"></td></tr>
+ <tr><td>Non-existing</td><td><input type="image" src="non-existing-button.png"></td></tr>
+ <tr><td>Empty src</td><td><input type="image" src=""></td></tr>
+ <tr><td>No src</td><td><input type="image"></td></tr>
+ <tr><td>Data URI</td><td><input type="image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUBAMAAAB/pwA+AAAAElBMVEVFR0J7f3N8mzuoqqedzTbT1dLaw9sTAAAAD0lEQVQI12NwgQOG4cYEANXmNSHGLZJkAAAAAElFTkSuQmCC"></td></tr>
+ </tbody>
+ </table>
+ </form>
+</body>
+</html>
+
« no previous file with comments | « Source/web/tests/PageSerializerTest.cpp ('k') | Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698