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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/range/range-set-attribute-expected.txt

Issue 2463693002: INPUT element: Updating 'step' attribute should adjust the last value. (Closed)
Patch Set: Created 4 years, 1 month 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 to see if setting the value attribute updates the value. 1 Test to see if setting the value attribute updates the value.
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 PASS input.setAttribute("value", "10"); input.value is "10" 6 PASS input.setAttribute("value", "10"); input.value is "10"
7 rewriting the value attribute should update the value 7 rewriting the value attribute should update the value
8 PASS input.setAttribute("value", "20"); input.value is "20" 8 PASS input.setAttribute("value", "20"); input.value is "20"
9 changing the max should effect value 9 changing the max should effect value
10 PASS input.setAttribute("max", "10"); input.value is "10" 10 PASS input.setAttribute("max", "10"); input.value is "10"
11 value attribute should not change the value after you set a value 11 value attribute should not change the value after you set a value
12 PASS input.value = 10; input.setAttribute("value", "5"); input.value is "10" 12 PASS input.value = 10; input.setAttribute("value", "5"); input.value is "10"
13 Updating step attribute should adjust the last value.
14 PASS input.value is "50"
15 PASS input.step = "15"; input.value is "45"
16 PASS input.step = "20"; input.value is "40"
13 PASS successfullyParsed is true 17 PASS successfullyParsed is true
14 18
15 TEST COMPLETE 19 TEST COMPLETE
16 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698