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

# Chrome (unstable channel) #
Testing web-platform-tests at revision f2279fd1dbe0a8a250d901ba2635ae44b25f5268
Using browser at version 55.0.2883.75
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`                                                               | FAIL    |
| `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-274247865

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