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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 HTMLInputElement type attribute test
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS input.type is "text"
7 PASS input.getAttribute('type') is null
8 PASS input.setAttribute('type', '-1'); input.type is "text"
9 PASS input.setAttribute('type', 'foo'); input.getAttribute('type') is "foo"
10 PASS input.type = 'x-unknown'; input.type is "text"
11 PASS input.type = 'x-unknown'; input.getAttribute('type') is "x-unknown"
12 PASS input.type = ''; input.type is "text"
13 PASS input.type = ''; input.getAttribute('type') is ""
14 PASS input.setAttribute('type', ''); input.type is "text"
15 PASS input.setAttribute('type', ''); input.getAttribute('type') is ""
16 PASS input.removeAttribute('type'); input.type is "text"
17 PASS input.removeAttribute('type'); input.getAttribute('type') is null
18 PASS input.setAttribute('type', 'rANGE'); input.type is "range"
19 PASS input.setAttribute('type', 'Range'); input.getAttribute('type') is "Range"
20 PASS input.setAttribute('type', 'rANGEr'); input.type is "text"
21 PASS successfullyParsed is true
22
23 TEST COMPLETE
24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698