Skip to content

Commit

Permalink
Reword description of the min_impact_on_step sample's behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
nwhittaker committed Jan 25, 2024
1 parent 95db731 commit 335ed7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/html/attributes/step/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Then define an input with a minimum value of `1.2` and a step value of `2`.
<input id="myNumber" name="myNumber" type="number" step="2" min="1.2" />
```

Valid values include `1.2`, `3.2`, `5.2`, `7.2`, `9.2`, `11.2`, and so on. Integers and even numbers followed by .2 are not valid. As we included an invalid value, supporting browsers will show the value as invalid. The number spinner, if present, will only show valid float values of `1.2` and greater
Valid values include `1.2`, `3.2`, `5.2`, `7.2`, `9.2`, `11.2`, and so on. Only floats with an odd-numbered integer part and a decimal part of `.2` are valid. The number spinner, if present, generates valid float values of `1.2` and greater, in increments of `2`.

{{EmbedLiveSample("min_impact_on_step",200,55)}}

Expand Down

0 comments on commit 335ed7c

Please sign in to comment.