| Index: third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
| index 7d9016858096c90d26ba1bff7644678a89680f50..50eb0dd59db20d9a5d0a0a72b36aaf0bbaf611be 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
| @@ -363,6 +363,8 @@ void RangeInputType::updateTickMarkValues() {
|
| for (unsigned i = 0; i < options->length(); ++i) {
|
| HTMLOptionElement* optionElement = options->item(i);
|
| String optionValue = optionElement->value();
|
| + if (optionElement->isDisabledFormControl() || optionValue.isEmpty())
|
| + continue;
|
| if (!this->element().isValidValue(optionValue))
|
| continue;
|
| m_tickMarkValues.push_back(parseToNumber(optionValue, Decimal::nan()));
|
|
|