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

Unified Diff: LayoutTests/fast/dom/HTMLInputElement/input-type-attribute-expected.txt

Issue 141703028: Remove input.type = ""; quirk. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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: LayoutTests/fast/dom/HTMLInputElement/input-type-attribute-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLInputElement/input-type-attribute-expected.txt b/LayoutTests/fast/dom/HTMLInputElement/input-type-attribute-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2e93f4e85a2054e68434103c8f3d63568f0c4e8
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLInputElement/input-type-attribute-expected.txt
@@ -0,0 +1,24 @@
+HTMLInputElement type attribute test
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS input.type is "text"
+PASS input.getAttribute('type') is null
+PASS input.setAttribute('type', '-1'); input.type is "text"
+PASS input.setAttribute('type', 'foo'); input.getAttribute('type') is "foo"
+PASS input.type = 'x-unknown'; input.type is "text"
+PASS input.type = 'x-unknown'; input.getAttribute('type') is "x-unknown"
+PASS input.type = ''; input.type is "text"
+PASS input.type = ''; input.getAttribute('type') is ""
+PASS input.setAttribute('type', ''); input.type is "text"
+PASS input.setAttribute('type', ''); input.getAttribute('type') is ""
+PASS input.removeAttribute('type'); input.type is "text"
+PASS input.removeAttribute('type'); input.getAttribute('type') is null
+PASS input.setAttribute('type', 'rANGE'); input.type is "range"
+PASS input.setAttribute('type', 'Range'); input.getAttribute('type') is "Range"
+PASS input.setAttribute('type', 'rANGEr'); input.type is "text"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698