Index: LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt |
diff --git a/LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt b/LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt |
index 2d36fea220881e16d1f551a2e9dad166efe7ae3e..4bcbac4fe30a41b7e9f67d9ea2f87762f4f53f88 100644 |
--- a/LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt |
+++ b/LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt |
@@ -31,6 +31,13 @@ PASS stepUpExplicitBounds(null, null, "-1", "2") is "3" |
PASS stepDownExplicitBounds(null, null, "foo", "1") is "0" |
PASS stepDownExplicitBounds(null, null, "0", "2") is "1" |
PASS stepDownExplicitBounds(null, null, "-1", "3") is "2" |
+Step bases |
+PASS createInputWithContentAttributes(0, 100, "20", "50"); input.value is "60" |
+PASS createInputWithContentAttributes(null, null, "50", "25"); input.value is "25" |
+PASS createInputWithContentAttributes(null, null, "50", "25"); input.stepUp(1); input.value is "75" |
+PASS createInputWithContentAttributes(null, null, "50", "25"); input.stepUp(1); input.stepDown(1); input.value is "25" |
+PASS createInputWithContentAttributes(null, null, "50", "25"); input.stepUp(2); input.stepDown(2); threw exception InvalidStateError: Failed to execute 'stepUp' on 'HTMLInputElement': The form element's new value (125) would be higher than the maximum (100), and snapping to the maximum would exceed the amount of acceptible error.. |
+PASS createInputWithContentAttributes(null, null, "7", "22"); input.stepUp(40); threw exception InvalidStateError: Failed to execute 'stepUp' on 'HTMLInputElement': The form element's new value (302) would be higher than the maximum (100), and snapping to the maximum would exceed the amount of acceptible error.. |
Step=any |
PASS stepUpExplicitBounds(null, null, "any", "1") threw exception InvalidStateError: Failed to execute 'stepUp' on 'HTMLInputElement': This form element does not have an allowed value step.. |
PASS stepDownExplicitBounds(null, null, "any", "1") threw exception InvalidStateError: Failed to execute 'stepDown' on 'HTMLInputElement': This form element does not have an allowed value step.. |