Re: [html-tests] Fix some HTMLInputElement.{min,max,step} tests for <input type="range"> (#4597)

# Firefox (nightly channel) #
Testing web-platform-tests at revision f2279fd1dbe0a8a250d901ba2635ae44b25f5268
Using browser at version BuildID 20170119222621; SourceStamp a3978751f45108ff1ae002ecebdc0fa23fc52b84
Starting 10 test iterations
All results were stable

## All results ##

<details>

<summary><a href="http://w3c-test.org/submissions/4597/html/semantics/forms/the-input-element/range.html">/html/semantics/forms/the-input-element/range.html</a></summary>


|                                                                  Subtest                                                                  | Results |
|-------------------------------------------------------------------------------------------------------------------------------------------|---------|
|                                                                                                                                           | OK      |
| `The default scale factor is 1 even if step attribute is explicitly set to non-integer value, unless min attribute has non-integer value` | FAIL    |
| `max attribute support on input element`                                                                                                  | PASS    |
| `default value of min attribute in input type=range`                                                                                      | PASS    |
| `Performing stepUp() beyond the value of the max attribute`                                                                               | PASS    |
| `Performing stepUp()`                                                                                                                     | PASS    |
| `default value when both min and max attributes are given, while min > max`                                                               | PASS    |
| `default value of max attribute in input type=range`                                                                                      | PASS    |
| `min attribute support on input element`                                                                                                  | PASS    |
| `the value is set to max when a larger value than max attribute is given`                                                                 | PASS    |
| `Converting an illegal string to the default value`                                                                                       | PASS    |
| `default value with step control when both min and max attributes are given`                                                              | PASS    |
| `Solving the step mismatch`                                                                                                               | PASS    |
| `default value when min and max attributes are given (= min plus half the difference between min and max)`                                | PASS    |
| `Illegal value of min attribute`                                                                                                          | PASS    |
| `The default step scale factor is 1, unless min attribute has non-integer value`                                                          | PASS    |
| `range type support on input element`                                                                                                     | PASS    |
| `Illegal value of step attribute`                                                                                                         | PASS    |
| `Illegal value of max attribute`                                                                                                          | PASS    |
| `Performing stepDown() beyond the value of the min attribute`                                                                             | PASS    |
| `Step scale factor behavior when min attribute has integer value but max attribute is non-integer `                                       | PASS    |
| `Performing stepDown()`                                                                                                                   | PASS    |
| `the value is set to min when a smaller value than min attribute is given`                                                                | PASS    |

</details>


View on GitHub: https://github.com/w3c/web-platform-tests/pull/4597#issuecomment-274247861

Received on Saturday, 21 January 2017 08:15:46 UTC