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

Side by Side Diff: LayoutTests/fast/forms/time/time-setrangetext-expected.txt

Issue 596723002: Enabling selection API for input type=<file, color, date, email, number> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Enabling Selection API for input type email and number 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 unified diff | Download patch
OLDNEW
1 Test setRangeText() method is not available in time inputs. 1 Test setRangeText() on time inputs.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 6
7 Running tests on input with attributes: {"type":"time"} 7 Running tests on input with attributes: {"type":"time"}
8 8
9 element.value = '0123456789XYZ' 9 element.value = '0123456789'
10 PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('tim e') does not support selection.. 10 element.setSelectionRange(2, 5)
11 element.setRangeText('432')
11 PASS element.value is "" 12 PASS element.value is ""
13 PASS element.value is not 0143256789
12 PASS successfullyParsed is true 14 PASS successfullyParsed is true
13 15
14 TEST COMPLETE 16 TEST COMPLETE
15 17
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/time/time-setrangetext.html ('k') | LayoutTests/fast/forms/week/week-setrangetext.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698