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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/input-image-button-with-empty-value.html

Issue 2127093004: Don't treat an empty value attribute as null on image input types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@467579
Patch Set: Created 4 years, 5 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 | « no previous file | third_party/WebKit/LayoutTests/fast/forms/input-image-button-with-empty-value-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/forms/input-image-button-with-empty-value.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/input-image-button-with-empty-value.html b/third_party/WebKit/LayoutTests/fast/forms/input-image-button-with-empty-value.html
new file mode 100644
index 0000000000000000000000000000000000000000..c4712502fe753578b82b4a9490ff1f6b379f1fa0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/input-image-button-with-empty-value.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<p>crbug.com/625604: Don't display fallback content when value attribute is empty rather than null. </p>
+<input value="" type="image" style="background-image: url('data:image/gif;base64,R0lGODdhAgACAIABAAAAAP///ywAAAAAAgACAAACA0QCBQA7'); display: block;">
+<input value="" type="image" style="display: block;">
+
+
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/input-image-button-with-empty-value-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698